Skip to content

declarative_base available from sqlalchemy.orm in 1.4 #250

Description

@philbudne

https://docs.sqlalchemy.org/en/14/orm/extensions/declarative/

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions