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