TaskInitKey

class lsst.pipe.base.quantum_graph_skeleton.TaskInitKey(task_label: str, is_task: ClassVar[Literal[True]] = True)

Bases: NamedTuple

Identifier type for task init keys in a QuantumGraphSkeleton.

Attributes Summary

is_task

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

task_label

Label of the task in the pipeline.

Methods Summary

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes Documentation

is_task: ClassVar[Literal[True]]

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

task_label: str

Label of the task in the pipeline.

Methods Documentation

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=sys.maxsize, /)

Return first index of value.

Raises ValueError if the value is not present.