DatasetKey

class lsst.pipe.base.quantum_graph_skeleton.DatasetKey(parent_dataset_type_name: str, data_id_values: tuple[int | str | None, ...])

Bases: object

Identifier type for dataset keys in a QuantumGraphSkeleton.

Attributes Summary

data_id_values

Data ID values of the dataset.

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

data_id_values: tuple[int | str | None, ...]

Data ID values of the dataset.

Note that keys are fixed given parent_dataset_type_name, so using only the values here speeds up comparisons.

is_prerequisite: ClassVar[Literal[False]] = False
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).