ApdbWithdrawDiaSourceRecord#

class lsst.dax.apdb.ApdbWithdrawDiaSourceRecord(*, update_time_ns: int, update_order: int, diaSourceId: int, diaObjectId: int | None, timeWithdrawnMjdTai: float, ra: float, dec: float)#

Bases: ApdbUpdateRecord

Update record representing withdrawal of DIASource.

Attributes Summary

apdb_table

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

dec

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

diaObjectId

ID of associated DIAObject record or None if it is associated to SSObject.

diaSourceId

ID of DIASource record.

ra

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

timeWithdrawnMjdTai

Time when this record was marked invalid.

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.

Attributes Documentation

apdb_table: ClassVar[ApdbTables] = 'DiaSource'#

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

dec: float = <dataclasses._MISSING_TYPE object>#

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

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

ID of associated DIAObject record or None if it is associated to SSObject.

diaSourceId: int = <dataclasses._MISSING_TYPE object>#

ID of DIASource record.

ra: float = <dataclasses._MISSING_TYPE object>#

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

timeWithdrawnMjdTai: float = <dataclasses._MISSING_TYPE object>#

Time when this record was marked invalid.

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] = 'withdraw_diasource'#

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