ProvenanceInitQuantumInfo#

class lsst.pipe.base.quantum_graph.ProvenanceInitQuantumInfo#

Bases: TypedDict

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

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

node_data: ProvenanceInitQuantumInfo = xgraph.nodes[quantum_id]

where xgraph is ProvenanceQuantumGraph.bipartite_xgraph.