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.

update_type

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

Methods Summary

from_json(update_time_ns, update_order, json_str)

to_json()

Attributes Documentation

apdb_table: ClassVar[ApdbTables] = 'DiaSource'

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

update_type: ClassVar[str] = 'withdraw_diasource'

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

Methods Documentation

classmethod from_json(update_time_ns: int, update_order: int, json_str: str) ApdbUpdateRecord
to_json() str