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:
butlerlsst.daf.butler.Butler

The repository to search for input datasets. Must have pre-configured collections.

configlsst.pipe.base.PipelineTaskConfig

The config for the task to be constructed.

Returns:
initInputsdict [str]

A dictionary of objects in the format of the initInputs parameter to lsst.pipe.base.PipelineTask.