ProvenanceQuantumInfo#

class lsst.pipe.base.quantum_graph.ProvenanceQuantumInfo#

Bases: QuantumInfo

A typed dictionary that annotates the attributes of the NetworkX graph node data for a provenance quantum.

Since NetworkX types are not generic over their node mapping type, this has to be used explicitly, e.g.:

node_data: ProvenanceQuantumInfo = xgraph.nodes[quantum_id]

where xgraph is ProvenanceQuantumGraph.bipartite_xgraph or ProvenanceQuantumGraph.quantum_only_xgraph