ParametersIR¶
- class lsst.pipe.base.pipelineIR.ParametersIR(mapping: MutableMapping[str, Any])¶
Bases:
object
Intermediate representation of parameters that are global to a pipeline.
- Attributes:
Notes
These parameters are specified under a top level key named
parameters
and are declared as a yaml mapping. These entries can then be used inside task configuration blocks to specify configuration values. They may not be used in the specialfile
orpython
blocks.Examples
parameters: shared_value: 14 tasks: taskA: class: modA config: field1: parameters.shared_value taskB: class: modB config: field2: parameters.shared_value
Methods Summary
Convert to a representation used in yaml serialization.
update
(other)Methods Documentation
- to_primitives() MutableMapping[str, str] ¶
Convert to a representation used in yaml serialization.
- update(other: ParametersIR | None) None ¶