QuantumExecutionResult¶
- class lsst.pipe.base.quantum_graph_executor.QuantumExecutionResult(quantum: Quantum, report: QuantumReport | None, *, task_metadata: TaskMetadata | None = None, skipped_existing: bool | None = None, adjusted_no_work: bool | None = None)¶
Bases:
tuple[Quantum,QuantumReport|None]A result struct that captures information about a single quantum’s execution.
- Parameters:
- quantum
lsst.daf.butler.Quantum Quantum that was executed.
- report
quantum_reports.QuantumReport Report with basic information about the execution.
- task_metadata
TaskMetadata, optional Metadata saved by the task and executor during execution.
- skipped_existing
bool, optional If
True, this quantum was not executed because it appeared to have already been executed successfully.- adjusted_no_work
bool, optional If
True, this quantum was not executed because thePipelineTaskConnections.adjustQuantahook raisedNoWorkFound.
- quantum
Notes
For backwards compatibility, this class is a two-element tuple that allows the
quantumandreportattributes to be unpacked. Additional regular attributes may be added by executors (but the tuple must remain only two elements to enable the current unpacking interface).Attributes Summary
If
True, this quantum was not executed because thePipelineTaskConnections.adjustQuantahook raisedNoWorkFound.The quantum actually executed.
Structure describing the status of the execution of a quantum.
If
True, this quantum was not executed because it appeared to have already been executed successfully.Metadata saved by the task and executor during execution.
Methods Summary
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes Documentation
- adjusted_no_work¶
If
True, this quantum was not executed because thePipelineTaskConnections.adjustQuantahook raisedNoWorkFound.
- quantum¶
The quantum actually executed.
- report¶
Structure describing the status of the execution of a quantum.
This is
Noneif the implementation does not support this feature.
- skipped_existing¶
If
True, this quantum was not executed because it appeared to have already been executed successfully.
- task_metadata¶
Metadata saved by the task and executor during execution.
Methods Documentation
- count(value, /)¶
Return number of occurrences of value.
- index(value, start=0, stop=sys.maxsize, /)¶
Return first index of value.
Raises ValueError if the value is not present.