ApdbCloseDiaObjectValidityRecord#

class lsst.dax.apdb.ApdbCloseDiaObjectValidityRecord(*, update_time_ns: int, update_order: int, diaObjectId: int, validityEndMjdTai: float, nDiaSources: int | None, ra: float, dec: float)#

Bases: ApdbUpdateRecord

Record representing closing of the validity interval of DIAObject.

Attributes Summary

apdb_table

Class variable defining APDB table that this update applies to, must be defined in all concrete subclasses.

dec

DIAObject dec, not required to be exact, but needs to be close to the database record.

diaObjectId

ID of DIAObject.

nDiaSources

New value for nDiaSources column for updated record, or None if nDiaSources does not change.

ra

DIAObject ra, not required to be exact, but needs to be close to the database record.

update_order

Record order in the update.

update_time_ns

Time in nanoseconds since epoch when update happened.

update_type

Class variable defining type of the update, must be defined in all concrete subclasses and be unique.

validityEndMjdTai

Time to set validityEnd to.

Attributes Documentation

apdb_table: ClassVar[ApdbTables] = 'DiaObject'#

Class variable defining APDB table that this update applies to, must be defined in all concrete subclasses.

dec: float = <dataclasses._MISSING_TYPE object>#

DIAObject dec, not required to be exact, but needs to be close to the database record.

diaObjectId: int = <dataclasses._MISSING_TYPE object>#

ID of DIAObject.

nDiaSources: int | None = <dataclasses._MISSING_TYPE object>#

New value for nDiaSources column for updated record, or None if nDiaSources does not change.

ra: float = <dataclasses._MISSING_TYPE object>#

DIAObject ra, not required to be exact, but needs to be close to the database record.

update_order: int = <dataclasses._MISSING_TYPE object>#

Record order in the update.

update_time_ns: int = <dataclasses._MISSING_TYPE object>#

Time in nanoseconds since epoch when update happened.

update_type: ClassVar[str] = 'close_diaobject_validity'#

Class variable defining type of the update, must be defined in all concrete subclasses and be unique.

validityEndMjdTai: float = <dataclasses._MISSING_TYPE object>#

Time to set validityEnd to.