Intermediate representation of tasks read from a pipeline yaml file.
Definition at line 320 of file pipelineIR.py.
◆ __eq__()
def lsst.pipe.base.pipelineIR.TaskIR.__eq__ |
( |
|
self, |
|
|
"TaskIR" |
other |
|
) |
| |
◆ add_or_update_config()
def lsst.pipe.base.pipelineIR.TaskIR.add_or_update_config |
( |
|
self, |
|
|
ConfigIR |
other_config |
|
) |
| |
Adds a `ConfigIR` to this task if one is not present. Merges configs
if there is a `ConfigIR` present 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
----------
other_config : `ConfigIR`
A `ConfigIR` instance to add or merge into the config attribute of
this task.
Definition at line 343 of file pipelineIR.py.
◆ to_primitives()
dict lsst.pipe.base.pipelineIR.TaskIR.to_primitives |
( |
|
self | ) |
|
Convert to a representation used in yaml serialization
Definition at line 335 of file pipelineIR.py.
◆ config
lsst.pipe.base.pipelineIR.TaskIR.config |
The documentation for this class was generated from the following file: