QuantumGraphExecutor

class lsst.ctrl.mpexec.QuantumGraphExecutor(*args, **kwargs)

Bases: QuantumGraphExecutor

Deprecated since version v30: The QuantumGraphExecutor class has moved to lsst.pipe.base.quantum_graph_executor. This forwarding shim will be removed after v30.

Methods Summary

execute(graph)

Execute whole graph.

getReport()

Return execution report from last call to execute.

Methods Documentation

abstract execute(graph: QuantumGraph) None

Execute whole graph.

Implementation of this method depends on particular execution model and it has to be provided by a subclass. Execution model determines what happens here; it can be either actual running of the task or, for example, generation of the scripts for delayed batch execution.

Parameters:
graphQuantumGraph

Execution graph.

getReport() Report | None

Return execution report from last call to execute.

Returns:
reportReport, optional

Structure describing the status of the execution of a quantum graph. None is returned if implementation does not support this feature.

Raises:
RuntimeError

Raised if this method is called before execute.