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
Changed in version 1.4: The vast majority of the Declarative extension is now integrated into the SQLAlchemy ORM and is importable from the sqlalchemy.orm namespace.
Using the old location (ext.declarative) gives a deprecation warning when SQLALCHEMY_WARN_20 enabled.
The text was updated successfully, but these errors were encountered:
The last update of sqlalchemy.orm.__init__.pyi was 2 years ago, before SQLAlchemy 1.4.0 was released. Wondering if the authors would consider merging a pull request with a fix, although there seem to be a bunch of unanswered PRs.
Following up here since I'm facing this for the as_declarative -- I get a deprecation warning, but when It ry to import from sqlalchemy.orm the type check fails.
https://docs.sqlalchemy.org/en/14/orm/extensions/declarative/
Using the old location (ext.declarative) gives a deprecation warning when SQLALCHEMY_WARN_20 enabled.
The text was updated successfully, but these errors were encountered: