ContractIR¶
-
class
lsst.pipe.base.pipelineIR.
ContractIR
(contract: str, msg: Optional[str] = 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
= 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
-