TaskDatasetTypes¶
-
class
lsst.pipe.base.TaskDatasetTypes(initInputs: lsst.daf.butler.core.named.NamedValueSet[lsst.daf.butler.core.datasets.type.DatasetType][lsst.daf.butler.core.datasets.type.DatasetType], initOutputs: lsst.daf.butler.core.named.NamedValueSet[lsst.daf.butler.core.datasets.type.DatasetType][lsst.daf.butler.core.datasets.type.DatasetType], inputs: lsst.daf.butler.core.named.NamedValueSet[lsst.daf.butler.core.datasets.type.DatasetType][lsst.daf.butler.core.datasets.type.DatasetType], prerequisites: lsst.daf.butler.core.named.NamedValueSet[lsst.daf.butler.core.datasets.type.DatasetType][lsst.daf.butler.core.datasets.type.DatasetType], outputs: lsst.daf.butler.core.named.NamedValueSet[lsst.daf.butler.core.datasets.type.DatasetType][lsst.daf.butler.core.datasets.type.DatasetType])¶ Bases:
objectAn immutable struct that extracts and classifies the dataset types used by a
PipelineTaskMethods Summary
fromTaskDef(taskDef, *, registry)Extract and classify the dataset types from a single PipelineTask.Methods Documentation
-
classmethod
fromTaskDef(taskDef: lsst.pipe.base.pipeline.TaskDef, *, registry: lsst.daf.butler.registry._registry.Registry) → lsst.pipe.base.pipeline.TaskDatasetTypes¶ Extract and classify the dataset types from a single
PipelineTask.Parameters: - taskDef: `TaskDef`
An instance of a
TaskDefclass for a particularPipelineTask.- registry: `Registry`
Registry used to construct normalized
DatasetTypeobjects and retrieve those that are incomplete.
Returns: - types: `TaskDatasetTypes`
The dataset types used by this task.
-
classmethod