Schema#
- class lsst.dax.apdb.schema_model.Schema(name: str, id: str, tables: list[~lsst.dax.apdb.schema_model.Table], version: ~felis.datamodel.SchemaVersion | None = None, description: str | None = None, annotations: ~collections.abc.Mapping[str, ~typing.Any] = <factory>)#
Bases:
objectComplete schema description, collection of tables.
Attributes Summary
Additional annotations for this table.
Schema description.
Felis ID for this schema.
Schema name.
Collection of table definitions.
Schema version description.
Methods Summary
from_felis(dm_schema)Convert felis schema definition to instance of this class.
Attributes Documentation
- annotations: Mapping[str, Any] = <dataclasses._MISSING_TYPE object>#
Additional annotations for this table.
- description: str | None = None#
Schema description.
- id: str = <dataclasses._MISSING_TYPE object>#
Felis ID for this schema.
- name: str = <dataclasses._MISSING_TYPE object>#
Schema name.
- version: SchemaVersion | None = None#
Schema version description.
Methods Documentation