RunRecord¶
-
class
lsst.daf.butler.registry.interfaces.RunRecord(name: str, type: lsst.daf.butler.registry._collectionType.CollectionType)¶ Bases:
lsst.daf.butler.registry.interfaces.CollectionRecordA subclass of
CollectionRecordthat adds execution information and an interface for updating it.Attributes Summary
hostReturn the name of the host or system on which this run was produced ( strorNone).keyThe primary/foreign key value for this collection. timespanBegin and end timestamps for the period over which the run was produced. Methods Summary
update(host, timespan, …)Update the database record for this run with new execution information. Attributes Documentation
-
key¶ The primary/foreign key value for this collection.
-
timespan¶ Begin and end timestamps for the period over which the run was produced.
None/NULLvalues are interpreted as infinite bounds.
Methods Documentation
-
update(host: Optional[str] = None, timespan: Optional[lsst.daf.butler.core.timespan.Timespan[typing.Union[datetime.datetime, NoneType]][Optional[datetime.datetime]]] = None)¶ Update the database record for this run with new execution information.
Values not provided will set to
NULLin the database, not ignored.Parameters: - host :
str, optional Name of the host or system on which this run was produced. Detailed form to be set by higher-level convention; from the
Registryperspective, this is an entirely opaque value.- timespan :
Timespan, optional Begin and end timestamps for the period over which the run was produced.
None/NULLvalues are interpreted as infinite bounds.
- host :
-