TaskDef¶
-
class
lsst.pipe.base.TaskDef(taskName=None, config=None, taskClass=None, label=None)¶ Bases:
objectTaskDef 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: - taskName :
str, optional PipelineTaskclass 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. If not provided,taskClassmust be, andtaskClass.__name__is used.- config :
lsst.pex.config.Config, optional Instance of the configuration class corresponding to this task class, usually with all overrides applied. This config will be frozen. If not provided,
taskClassmust be provided andtaskClass.ConfigClass()will be used.- taskClass :
type, optional PipelineTaskclass object, can beNone. IfNonethen framework will have to locate and load class.- label :
str, optional Task label, usually a short string unique in a pipeline. If not provided,
taskClassmust be, andtaskClass._DefaultNamewill be used.
Attributes Summary
configDatasetNameName of a dataset type for configuration of this task ( str)logOutputDatasetNameName of a dataset type for log output from this task, Noneif logs are not to be saved (str)metadataDatasetNameName of a dataset type for metadata of this task, Noneif metadata is not to be saved (str)Attributes Documentation
- taskName :