ContractIR¶
-
class
lsst.pipe.base.pipelineIR.
ContractIR
(contract: str, msg: Optional[str] = None)¶ Bases:
object
Intermediate representation of 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
= None¶ An optional message to be shown to the user if a contract fails
Methods Documentation
-
to_primitives
() → dict¶ Convert to a representation used in yaml serialization
-