ApdbUpdateNDiaSourcesRecord

class lsst.dax.apdb.ApdbUpdateNDiaSourcesRecord(*, update_time_ns: int, update_order: int, diaObjectId: int, nDiaSources: int, ra: float, dec: float)

Bases: ApdbUpdateRecord

Record representing change in the number of associated sources of DIAObject.

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

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

update_type: ClassVar[str] = 'update_n_dia_sources'

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