ParametersIR#
- class lsst.pipe.base.pipelineIR.ParametersIR(mapping: MutableMapping[str, Any])#
Bases:
objectIntermediate representation of parameters that are global to a pipeline.
Attributes#
- mapping
dict[str,str] A mutable mapping of identifiers as keys, and shared configuration as values.
Notes#
These parameters are specified under a top level key named
parametersand 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 specialfileorpythonblocks.Examples#
​parameters: shared_value: 14 tasks: taskA: class: modA config: field1: parameters.shared_value taskB: class: modB config: field2: parameters.shared_value
Attributes Summary
A mutable mapping of identifiers as keys, and shared configuration as values.
Methods Summary
Convert to a representation used in yaml serialization.
update(other)Attributes Documentation
- mapping: MutableMapping[str, Any] = <dataclasses._MISSING_TYPE object>#
A mutable mapping of identifiers as keys, and shared configuration as values.
Methods Documentation
- to_primitives() MutableMapping[str, str]#
Convert to a representation used in yaml serialization.
- update(other: ParametersIR | None) None#
- mapping