schema_cache_manager
Cache manager for schema and data points.
Classes
DatasetsTable
class DatasetsTable(dataset_name):
ORM for storing dataset names.
Ancestors
- sqlalchemy.orm.decl_api.Base
Variables
-
dataset_name : Union[sqlalchemy.orm.attributes.InstrumentedAttribute[+_T_co], +_T_co]
-
id : Union[sqlalchemy.orm.attributes.InstrumentedAttribute[+_T_co], +_T_co]
FilePathsTable
class FilePathsTable(dataset_id, file_path):
ORM for storing file paths associated with datasets.
Ancestors
- sqlalchemy.orm.decl_api.Base
Variables
-
dataset_id : Union[sqlalchemy.orm.attributes.InstrumentedAttribute[+_T_co], +_T_co]
-
file_path : Union[sqlalchemy.orm.attributes.InstrumentedAttribute[+_T_co], +_T_co]
-
id : Union[sqlalchemy.orm.attributes.InstrumentedAttribute[+_T_co], +_T_co]
MainSchemaCacheTable
class MainSchemaCacheTable(dataset_id, partial_schema):
ORM for linking datasets to their partial schemas.
Ancestors
- sqlalchemy.orm.decl_api.Base
Variables
-
cache_updated_at : Union[sqlalchemy.orm.attributes.InstrumentedAttribute[+_T_co], +_T_co]
-
dataset_id : Union[sqlalchemy.orm.attributes.InstrumentedAttribute[+_T_co], +_T_co]
-
id : Union[sqlalchemy.orm.attributes.InstrumentedAttribute[+_T_co], +_T_co]
-
partial_schema : Union[sqlalchemy.orm.attributes.InstrumentedAttribute[+_T_co], +_T_co]
SQLiteSchemaCacheManager
class SQLiteSchemaCacheManager(sqlite_path: pathlib.Path):
A schema caching implementation that uses an SQLite database.