PipelineTaskConfig#
- class lsst.pipe.base.PipelineTaskConfig(*args, **kw)#
Bases:
ConfigConfiguration class for
PipelineTask.This Configuration class functions in largely the same manner as any other derived from
lsst.pex.config.Config. The only difference is in how it is declared.PipelineTaskConfigchildren need to be declared with a pipelineConnections argument. This argument should specify a child class ofPipelineTaskConnections. During the declaration of aPipelineTaskConfiga config class is created with information from the supplied connections class to allow configuration of the connections class. This dynamically created config class is then attached to thePipelineTaskConfigvia aConfigFieldwith the attribute nameconnections.Attributes Summary
Flag to enable/disable saving of log output for a task, enabled by default.
Methods Summary
applyConfigOverrides(instrument, ...)Apply config overrides to this config instance.
Attributes Documentation
- saveLogOutput#
Flag to enable/disable saving of log output for a task, enabled by default. (
bool, defaultTrue)
Methods Documentation
- applyConfigOverrides(instrument: Instrument | None, taskDefaultName: str, pipelineConfigs: Iterable[ConfigIR] | None, parameters: ParametersIR, label: str) None#
Apply config overrides to this config instance.
Parameters#
- instrument
InstrumentorNone An instance of the
Instrumentspecified in a pipeline. IfNonethen the pipeline did not specify and instrument.- taskDefaultName
str The default name associated with the
Taskclass. This may be used with instrumental overrides.- pipelineConfigs
IterableofConfigIR An iterable of
ConfigIRobjects that contain overrides to apply to this config instance.- parameters
ParametersIR Parameters defined in a Pipeline which are used in formatting of config values across multiple
Taskin a pipeline.- label
str The label associated with this class’s Task in a pipeline.
- instrument