LabeledSubset¶
-
class
lsst.pipe.base.pipelineIR.LabeledSubset(label: str, subset: Set[str], description: Optional[str])¶ Bases:
objectIntermediate representation of named subset of task labels read from a pipeline yaml file.
Methods Summary
from_primatives(label, value, dict])Generate LabeledSubsetobjects given a properly formatted object that as been created by a yaml loader.to_primitives()Convert to a representation used in yaml serialization Methods Documentation
-
static
from_primatives(label: str, value: Union[List[str], dict]) → lsst.pipe.base.pipelineIR.LabeledSubset¶ Generate
LabeledSubsetobjects given a properly formatted object that as been created by a yaml loader.Parameters: Returns: - labeledSubset :
LabeledSubset A
LabeledSubsetobject build from the inputs.
Raises: - ValueError
Raised if the value input is not properly formatted for parsing
- labeledSubset :
-
to_primitives() → dict¶ Convert to a representation used in yaml serialization
-
static