ImportIR¶
- class lsst.pipe.base.pipelineIR.ImportIR(location: str, include: ~typing.Optional[~typing.List[str]] = None, exclude: ~typing.Optional[~typing.List[str]] = None, importContracts: bool = True, instrument: ~typing.Optional[~typing.Union[~typing.Type[~lsst.pipe.base.pipelineIR.KeepInstrument], str]] = <class 'lsst.pipe.base.pipelineIR.KeepInstrument'>)¶
Bases:
object
An intermediate representation of imported pipelines
Attributes Summary
List of tasks that should be excluded when inheriting this pipeline.
Boolean attribute to dictate if contracts should be inherited with the pipeline or not.
List of tasks that should be included when inheriting this pipeline.
Methods Summary
Load in the Pipeline specified by this object, and turn it into a PipelineIR instance.
Attributes Documentation
- exclude: Optional[List[str]] = None¶
List of tasks that should be excluded when inheriting this pipeline. Either the include or exclude attributes may be specified, but not both.
- importContracts: bool = True¶
Boolean attribute to dictate if contracts should be inherited with the pipeline or not.
- include: Optional[List[str]] = None¶
List of tasks that should be included when inheriting this pipeline. Either the include or exclude attributes may be specified, but not both.
Methods Documentation
- toPipelineIR() PipelineIR ¶
Load in the Pipeline specified by this object, and turn it into a PipelineIR instance.
- Returns:
- pipeline
PipelineIR
A pipeline generated from the imported pipeline file
- pipeline