DynamicTestPipelineTaskConfig#

class lsst.pipe.base.tests.mocks.DynamicTestPipelineTaskConfig(*args, **kw)#

Bases: BaseTestPipelineTaskConfig

Configuration for DynamicTestPipelineTask.

Attributes Summary

connections

Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.

dimensions

Dimensions for the task's quanta.

fail_condition

Condition on Data ID to raise an exception.

fail_exception

Class name of the exception to raise when fail condition is triggered.

fail_signal

Signal to raise instead of an exception.

init_inputs

Init-input connections, keyed by the connection name as seen by the task.

init_outputs

Init-output connections, keyed by the connection name as seen by the task.

inputs

Regular input connections, keyed by the connection name as seen by the task.

int_value

Arbitrary integer value to write into mock output datasets (int, default None)

memory_required

If not None, simulate an out-of-memory failure by raising only if ExecutionResource.max_mem exceeds this value.

outputs

Regular output connections, keyed by the connection name as seen by the task.

prerequisite_inputs

Prerequisite input connections, keyed by the connection name as seen by the task.

saveLogOutput

Flag to enable/disable saving of log output for a task, enabled by default.

sleep

Time to sleep (seconds) before mock execution reading inputs or failing.

str_value

Arbitrary string value to write into mock output datasets (str, default None)

Attributes Documentation

connections: pexConfig.ConfigField#

Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.

dimensions#

Dimensions for the task’s quanta. (List, default [])

fail_condition#

Condition on Data ID to raise an exception. String expression which includes attributes of quantum data ID using a syntax of daf_butler user expressions (e.g. ‘visit = 123’). (str, default '')

fail_exception#

Class name of the exception to raise when fail condition is triggered. Can be ‘lsst.pipe.base.NoWorkFound’ to specify non-failure exception. (str, default 'builtins.ValueError')

fail_signal#

Signal to raise instead of an exception. (int, default None)

init_inputs#

Init-input connections, keyed by the connection name as seen by the task. Must be empty if the task will be constructed. (ConfigDict, default {})

init_outputs#

Init-output connections, keyed by the connection name as seen by the task. Must be empty if the task will be constructed. (ConfigDict, default {})

inputs#

Regular input connections, keyed by the connection name as seen by the task. (ConfigDict, default {})

int_value#

Arbitrary integer value to write into mock output datasets (int, default None)

memory_required#

If not None, simulate an out-of-memory failure by raising only if ExecutionResource.max_mem exceeds this value. This string should include units as parsed by astropy.units.Quantity (e.g. ‘4GB’). (str, default None)

outputs#

Regular output connections, keyed by the connection name as seen by the task. (ConfigDict, default {})

prerequisite_inputs#

Prerequisite input connections, keyed by the connection name as seen by the task. (ConfigDict, default {})

saveLogOutput#

Flag to enable/disable saving of log output for a task, enabled by default. (bool, default True)

sleep#

Time to sleep (seconds) before mock execution reading inputs or failing. (float, default 0.0)

str_value#

Arbitrary string value to write into mock output datasets (str, default None)