TaskDef

class lsst.pipe.base.TaskDef(taskName, config, taskClass=None, label='')

Bases: object

TaskDef is a collection of information about task needed by Pipeline.

The information includes task name, configuration object and optional task class. This class is just a collection of attributes and it exposes all of them so that attributes could potentially be modified in place (e.g. if configuration needs extra overrides).

Attributes
taskNamestr

PipelineTask class name, currently it is not specified whether this is a fully-qualified name or partial name (e.g. module.TaskClass). Framework should be prepared to handle all cases.

configlsst.pex.config.Config

Instance of the configuration class corresponding to this task class, usually with all overrides applied. This config will be frozen.

taskClasstype or None

PipelineTask class object, can be None. If None then framework will have to locate and load class.

labelstr, optional

Task label, usually a short string unique in a pipeline.

Attributes Summary

configDatasetName

Name of a dataset type for configuration of this task (str)

metadataDatasetName

Name of a dataset type for metadata of this task, None if metadata is not to be saved (str)

Attributes Documentation

configDatasetName

Name of a dataset type for configuration of this task (str)

metadataDatasetName

Name of a dataset type for metadata of this task, None if metadata is not to be saved (str)