TaskIR¶
- 
class lsst.pipe.base.pipelineIR.TaskIR(label: str, klass: str, config: Optional[List[lsst.pipe.base.pipelineIR.ConfigIR]] = None)¶
- Bases: - object- Intermediate representation of tasks read from a pipeline yaml file. - Attributes Summary - config- List of all configs overrides associated with this task, and may be - Noneif there are no config overrides.- Methods Summary - add_or_update_config(other_config)- Adds a - ConfigIRto this task if one is not present.- to_primitives()- Convert to a representation used in yaml serialization - Attributes Documentation - 
config= None¶
- List of all configs overrides associated with this task, and may be - Noneif there are no config overrides.
 - Methods Documentation - 
add_or_update_config(other_config: lsst.pipe.base.pipelineIR.ConfigIR)¶
- Adds a - ConfigIRto this task if one is not present. Merges configs if there is a- ConfigIRpresent and the dataId keys of both configs match, otherwise adds a new entry to the config list. The exception to the above is that if either the last config or other_config has a python block, then other_config is always added, as python blocks can modify configs in ways that cannot be predicted.- Parameters: 
 - 
to_primitives() → dict¶
- Convert to a representation used in yaml serialization 
 
-