ApdbSqlConfig#

class lsst.dax.apdb.ApdbSqlConfig(*, schema_file: str = 'resource://lsst.sdm.schemas/apdb.yaml', ss_schema_file: str = 'resource://lsst.sdm.schemas/sso.yaml', schema_name: str = 'ApdbSchema', read_sources_months: int = 12, read_forced_sources_months: int = 12, enable_replica: bool = False, replica_chunk_seconds: int = 600, db_url: str, namespace: str | None = None, connection_config: ~lsst.dax.apdb.sql.config.ApdbSqlConnectionConfig = <factory>, pixelization: ~lsst.dax.apdb.sql.config.ApdbSqlPixelizationConfig = <factory>, dia_object_index: str = 'baseline', ra_dec_columns: tuple[str, str] = ('ra', 'dec'), dia_object_columns: list[str] = [], prefix: str = '')#

Bases: ApdbConfig

APDB configuration class for SQL implementation (ApdbSql).

Attributes Summary

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Summary

Attributes Documentation

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Documentation

classmethod check_dia_object_index(v: str) str#
classmethod check_ra_dec(v: Iterable[str]) tuple[str, str]#