Declarative API — SQLAlchemy 2.0.0b1 documentation

From Get docs
Sqlalchemy/docs/latest/orm/extensions/declarative/api

Declarative API

API Reference

Changed in version 1.4: The fundamental structures of the declarative system are now part of SQLAlchemy ORM directly. For these components see:

  • _orm.declarative_base()
  • _orm.declared_attr
  • _orm.has_inherited_table()
  • _orm.synonym_for()
  • _orm.as_declarative()


See Declarative Extensions for the remaining Declarative extension classes.