ParametersIR

class lsst.pipe.base.pipelineIR.ParametersIR(mapping: MutableMapping[str, Any])

Bases: object

Intermediate representation of parameters that are global to a pipeline.

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 special file or python blocks.

Examples

​parameters:
    shared_value: 14
    tasks:
        taskA:
            class: modA
            config:
                field1: parameters.shared_value
        taskB:
            class: modB
            config:
                field2: parameters.shared_value
Attributes:
mappingdict [str, str]

A mutable mapping of identifiers as keys, and shared configuration as values.

Methods Summary

to_primitives()

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