TaskFactory¶
- class lsst.ctrl.mpexec.TaskFactory¶
Bases:
TaskFactory
Class instantiating PipelineTasks.
Methods Summary
makeTask
(task_node, /, butler, initInputRefs)Create new PipelineTask instance from its
TaskDef
.Methods Documentation
- makeTask(task_node: TaskDef | TaskNode, /, butler: LimitedButler, initInputRefs: Iterable[DatasetRef] | None) PipelineTask ¶
Create new PipelineTask instance from its
TaskDef
.- Parameters:
- task_node
TaskNode
orTaskDef
Task definition structure.
TaskDef
support is deprecated and will be removed after v27.- butler
lsst.daf.butler.LimitedButler
Butler instance used to obtain initialization inputs for task.
- initInputRefs
Iterable
ofDatasetRef
orNone
List of resolved dataset references for init inputs for this task.
- task_node
- Returns:
- task
PipelineTask
Instance of a PipelineTask class.
- task
- Raises:
- Any exceptions that are raised by PipelineTask constructor or its
- configuration class are propagated back to caller.