getInitInputs¶
- lsst.pipe.base.testUtils.getInitInputs(butler: Butler, config: PipelineTaskConfig) Dict[str, Any]¶
Return the initInputs object that would have been passed to a
PipelineTaskconstructor.- 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
initInputsparameter tolsst.pipe.base.PipelineTask.
- initInputs