Intermediate representation of named subset of task labels read from
a pipeline yaml file.
Definition at line 100 of file pipelineIR.py.
◆ from_primatives()
LabeledSubset lsst.pipe.base.pipelineIR.LabeledSubset.from_primatives |
( |
str |
label, |
|
|
Union[List[str], dict] |
value |
|
) |
| |
|
static |
Generate `LabeledSubset` objects given a properly formatted object
that as been created by a yaml loader.
Parameters
----------
label : `str`
The label that will be used to identify this labeled subset.
value : `list` of `str` or `dict`
Object returned from loading a labeled subset section from a yaml
document.
Returns
-------
labeledSubset : `LabeledSubset`
A `LabeledSubset` object build from the inputs.
Raises
------
ValueError
Raised if the value input is not properly formatted for parsing
Definition at line 115 of file pipelineIR.py.
◆ to_primitives()
dict lsst.pipe.base.pipelineIR.LabeledSubset.to_primitives |
( |
|
self | ) |
|
Convert to a representation used in yaml serialization
Definition at line 153 of file pipelineIR.py.
The documentation for this class was generated from the following file: