ContractIR

class lsst.pipe.base.pipelineIR.ContractIR(contract: str, msg: str | None = None)

Bases: object

Intermediate representation of configuration contracts read from a pipeline yaml file.

Attributes Summary

msg

An optional message to be shown to the user if a contract fails

Methods Summary

to_primitives()

Convert to a representation used in yaml serialization

Attributes Documentation

msg: str | None = None

An optional message to be shown to the user if a contract fails

Methods Documentation

to_primitives() dict[str, str]

Convert to a representation used in yaml serialization