ApdbWithdrawDiaForcedSourceRecord

class lsst.dax.apdb.ApdbWithdrawDiaForcedSourceRecord(*, update_time_ns: int, update_order: int, diaObjectId: int, visit: int, detector: int, timeWithdrawnMjdTai: float, ra: float, dec: float)

Bases: ApdbUpdateRecord

Update record representing withdrawal of DIAForcedSource.

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] = 'DiaForcedSource'

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

update_type: ClassVar[str] = 'withdraw_diaforcedsource'

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