You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a recommended method to fix this? Is it a bug? A feature? Not sure. It does appear to be the only blocker for using convert with SQLAlchemy 2.0 model instances.
The text was updated successfully, but these errors were encountered:
Thanks for the excellent reproducible example. This has been fixed in #453. If you'd like to try the fix out before the next release, you can install the main branch from GitHub.
Description
This is an extension of #416 -- thanks for that. Much appreciated.
When converting from SQLAlchemy models it mostly works, except for the custom iterable type that SQLAlchemy uses, the
InstrumentedList
Example:
Looks like the validation is tripping on the list-like (but not actual list) type.
If I hack in a real list in place of the Instrumented list then it works fine:
Output:
Is there a recommended method to fix this? Is it a bug? A feature? Not sure. It does appear to be the only blocker for using
convert
with SQLAlchemy 2.0 model instances.The text was updated successfully, but these errors were encountered: