Database Module
This module handles database operations and synchronization for the PySide Demo application.
Submodules
database
- class pyside_demo.db.database.Base(**kwargs: Any)[source]
Bases:
DeclarativeBaseBase class for declarative SQLAlchemy models.
This class serves as the base for all database models in the application. It inherits from SQLAlchemy’s DeclarativeBase, providing the necessary functionality for declarative model definitions.
- metadata: ClassVar[MetaData] = MetaData()
Refers to the
_schema.MetaDatacollection that will be used for new_schema.Tableobjects.See also
orm_declarative_metadata
- registry: ClassVar[_RegistryType] = <sqlalchemy.orm.decl_api.registry object>
Refers to the
_orm.registryin use where new_orm.Mapperobjects will be associated.