ProvenanceDatasetInfo#

class lsst.pipe.base.quantum_graph.ProvenanceDatasetInfo#

Bases: DatasetInfo

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

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

node_data: ProvenanceDatasetInfo = xgraph.nodes[dataset_id]

where xgraph is ProvenanceQuantumGraph.bipartite_xgraph.