lsst.pipe.base  21.0.0-7-g959bb79+819d811720
Public Member Functions | Static Public Member Functions | List of all members
lsst.pipe.base.pipelineIR.LabeledSubset Class Reference

Public Member Functions

dict to_primitives (self)
 

Static Public Member Functions

LabeledSubset from_primatives (str label, Union[List[str], dict] value)
 

Detailed Description

Intermediate representation of named subset of task labels read from
a pipeline yaml file.

Definition at line 100 of file pipelineIR.py.

Member Function Documentation

◆ 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: