getInitInputs¶
- lsst.pipe.base.testUtils.getInitInputs(butler: Butler, config: PipelineTaskConfig) dict[str, Any] ¶
Return the initInputs object that would have been passed to a
PipelineTask
constructor.- Parameters:
- butler
lsst.daf.butler.Butler
The repository to search for input datasets. Must have pre-configured collections.
- config
lsst.pipe.base.PipelineTaskConfig
The config for the task to be constructed.
- butler
- Returns:
- initInputs
dict
[str
] A dictionary of objects in the format of the
initInputs
parameter tolsst.pipe.base.PipelineTask
.
- initInputs