PrerequisiteDatasetKey

class lsst.pipe.base.quantum_graph_skeleton.PrerequisiteDatasetKey(parent_dataset_type_name: str, dataset_id_bytes: bytes)

Bases: object

Identifier type for prerequisite dataset keys in a QuantumGraphSkeleton.

Unlike regular datasets, prerequisites are not actually required to come from a find-first search of input_collections, so we don’t want to assume that the same data ID implies the same dataset. Happily we also don’t need to search for them by data ID in the graph, so we can use the dataset ID (UUID) instead.

Attributes Summary

dataset_id_bytes

Dataset ID (UUID) as raw bytes.

is_prerequisite

is_task

Whether this node represents a quantum or task initialization rather than a dataset (always False).

parent_dataset_type_name

Name of the dataset type (never a component).

Attributes Documentation

dataset_id_bytes: bytes

Dataset ID (UUID) as raw bytes.

is_prerequisite: ClassVar[Literal[True]] = True
is_task: ClassVar[Literal[False]] = False

Whether this node represents a quantum or task initialization rather than a dataset (always False).

parent_dataset_type_name: str

Name of the dataset type (never a component).