Skip to content

Commit d96c888

Browse files
authored
networkx: fix link argument deprecation warning (#14982)
1 parent 04cb953 commit d96c888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/networkx/networkx/readwrite/json_graph/node_link.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ Use the `edges` keyword instead."""
1515
def node_link_data(
1616
G: Graph[_Node],
1717
*,
18+
link: str | None,
1819
source: str = "source",
1920
target: str = "target",
2021
name: str = "id",
2122
key: str = "key",
2223
edges: str | None = None,
2324
nodes: str = "nodes",
24-
link: str | None = None,
2525
): ...
2626
@overload
2727
def node_link_data(

0 commit comments

Comments
 (0)