autowisp.database.data_model.base module
Class Inheritance Diagram

Declare the base class for all table classes.
- class autowisp.database.data_model.base.DataModelBase(**kwargs: Any)[source]
Bases:
DeclarativeBase
The base class for all table classes.
- id = Column(None, Integer(), table=None, primary_key=True, nullable=False)
- metadata: ClassVar[MetaData] = MetaData()
Refers to the
_schema.MetaData
collection that will be used for new_schema.Table
objects.See also
orm_declarative_metadata
- registry: ClassVar[_RegistryType] = <sqlalchemy.orm.decl_api.registry object>
Refers to the
_orm.registry
in use where new_orm.Mapper
objects will be associated.
- timestamp = Column(None, TIMESTAMP(), table=None, nullable=False, server_default=DefaultClause(<sqlalchemy.sql.elements.TextClause object>, for_update=False))