ProvenanceQuantumScanStatus

class lsst.pipe.base.quantum_graph.ProvenanceQuantumScanStatus(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

Status enum for quantum scanning.

Note that this records the status for the scanning which is distinct from the status of the quantum’s execution.

Attributes Summary

ABANDONED

The quantum's execution appears to have failed but we cannot rule out the possibility that it could be recovered, but we've also waited long enough (according to ScannerTimeConfigDict.retry_timeout) that it's time to stop trying for now.

BLOCKED

A quantum upstream of this one failed.

FAILED

The quantum was conclusively scanned and failed execution, blocking scans for downstream quanta.

INCOMPLETE

The quantum is not necessarily done running, and cannot be scanned conclusively yet.

INIT

Init quanta need special handling, because they don't have logs and metadata.

SUCCESSFUL

The quantum was conclusively scanned and was executed successfully, unblocking scans for downstream quanta.

Attributes Documentation

ABANDONED = 2

The quantum’s execution appears to have failed but we cannot rule out the possibility that it could be recovered, but we’ve also waited long enough (according to ScannerTimeConfigDict.retry_timeout) that it’s time to stop trying for now.

This state means a later run with ScannerConfig.assume_complete is required.

BLOCKED = 5

A quantum upstream of this one failed.

FAILED = 4

The quantum was conclusively scanned and failed execution, blocking scans for downstream quanta.

INCOMPLETE = 1

The quantum is not necessarily done running, and cannot be scanned conclusively yet.

INIT = 6

Init quanta need special handling, because they don’t have logs and metadata.

SUCCESSFUL = 3

The quantum was conclusively scanned and was executed successfully, unblocking scans for downstream quanta.