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:
timespanlsst.daf.butler.Timespan or None

The timespan of this quantum, or None if it is known to not be needed.

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_namestr

Name of the dataset type. Never a component dataset type name.

data_idlsst.daf.butler.DataCoordinate

Data ID for the dataset.