TimespanBuilder¶
- class lsst.pipe.base.prerequisite_helpers.TimespanBuilder¶
Bases:
ABC
A base class for objects that accumulate the appropriate timespan for a quantum.
Methods Summary
finish
()Finish building the timespan and return it.
handle_dataset
(parent_dataset_type_name, data_id)Handle the skeleton graph node for a regular input/output connection for this quantum, including its data ID in the bounds if appropriate.
Methods Documentation
- abstract finish() Timespan | None ¶
Finish building the timespan and return it.
- Returns:
- timespan
lsst.daf.butler.Timespan
orNone
The timespan of this quantum, or
None
if it is known to not be needed.
- timespan
- handle_dataset(parent_dataset_type_name: str, data_id: DataCoordinate) None ¶
Handle the skeleton graph node for a regular input/output connection for this quantum, including its data ID in the bounds if appropriate.
- Parameters:
- parent_dataset_type_name
str
Name of the dataset type. Never a component dataset type name.
- data_id
lsst.daf.butler.DataCoordinate
Data ID for the dataset.
- parent_dataset_type_name