app.models.base moduleΒΆ
SQLAlchemy declarative base and shared mixins.
- class app.models.base.Base(**kwargs: Any)[source]ΒΆ
Bases:
DeclarativeBase- metadata: ClassVar[MetaData] = MetaData()ΒΆ
Refers to the
_schema.MetaDatacollection that will be used for new_schema.Tableobjects.See also
orm_declarative_metadata
- registry: ClassVar[registry] = <sqlalchemy.orm.decl_api.registry object>ΒΆ
Refers to the
_orm.registryin use where new_orm.Mapperobjects will be associated.