QuantumExecutor

class lsst.ctrl.mpexec.QuantumExecutor

Bases: abc.ABC

Class which abstracts execution of a single Quantum.

In general implementation should not depend on execution model and execution should always happen in-process. Main reason for existence of this class is to provide do-nothing implementation that can be used in the unit tests.

Methods Summary

execute(taskDef, quantum, butler) Execute single quantum.

Methods Documentation

execute(taskDef, quantum, butler)

Execute single quantum.

Parameters:
taskDef : TaskDef

Task definition structure.

quantum : Quantum

Quantum for this execution.

butler : Butler

Data butler instance

Notes

Any exception raised by the task or code that wraps task execution is propagated to the caller of this method.