PrerequisiteInfo#

class lsst.pipe.base.prerequisite_helpers.PrerequisiteInfo(task_node: TaskNode, pipeline_graph: PipelineGraph)#

Bases: object

A QuantumGraph-generation helper class that manages the searches for all prerequisite input connections for a task.

Parameters#

task_nodeTaskNode

The relevant node.

pipeline_graphPipelineGraph

The pipeline graph.

Attributes Summary

bounds

Another helper object that manages the spatial/temporal bounds of the task's quanta.

finders

Mapping of helper objects responsible for a single prerequisite input connection.

Methods Summary

update_bounds()

Inspect the current state of finders and update bounds to reflect the needs of only the finders that remain.

Attributes Documentation

bounds: PrerequisiteBounds = <dataclasses._MISSING_TYPE object>#

Another helper object that manages the spatial/temporal bounds of the task’s quanta.

finders: dict[str, PrerequisiteFinder] = <dataclasses._MISSING_TYPE object>#

Mapping of helper objects responsible for a single prerequisite input connection.

Keys are connection names. Elements of this dictionary should be removed by implementations of QuantumGraphBuilder.process_subgraph to take responsibility for finding them away from the the QuantumGraphBuilder base class.

Methods Documentation

update_bounds() None#

Inspect the current state of finders and update bounds to reflect the needs of only the finders that remain.