Could not de-stringify annotation #11062
Labels
documentation
orm - annotated declarative
issues with the new annotations-based declarative ORM approach
orm
Describe the bug
Hey,
the following code raises an
NameError: Could not de-stringify annotation 'long str'
. But as soon as I changedAnnotated[str, "long str"]
toAnnotated[str, "long_str"]
it works. Any idea about what's going on here?fin swimmer
Optional link from https://docs.sqlalchemy.org which documents the behavior that is expected
No response
SQLAlchemy Version in Use
2.0.27
DBAPI (i.e. the database driver)
sqlite, oracaledb
Database Vendor and Major Version
current
Python Version
3.11, 3.12
Operating system
Linux, Windows
To Reproduce
Error
Additional context
No response
The text was updated successfully, but these errors were encountered: