From 82b266633de1dc72dabad434c6abbd07a9465cd3 Mon Sep 17 00:00:00 2001 From: George Macon Date: Fri, 9 Aug 2024 13:05:36 -0400 Subject: [PATCH] Add graph attribute to networkx.Graph --- stubs/networkx/networkx/classes/graph.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stubs/networkx/networkx/classes/graph.pyi b/stubs/networkx/networkx/classes/graph.pyi index 9edca89f48b5..156e88897339 100644 --- a/stubs/networkx/networkx/classes/graph.pyi +++ b/stubs/networkx/networkx/classes/graph.pyi @@ -39,6 +39,7 @@ class Graph(Collection[_Node]): adj: AdjacencyView[_Node, _Node, dict[str, Incomplete]] name: str + graph: dict[str, Any] def __getitem__(self, n: _Node) -> AtlasView[_Node, _Node, dict[str, Incomplete]]: ... def __iter__(self) -> Iterator[_Node]: ...