mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-06-24 09:48:39 +08:00
networkx: fix link argument deprecation warning (#14982)
This commit is contained in:
@@ -15,13 +15,13 @@ Use the `edges` keyword instead."""
|
||||
def node_link_data(
|
||||
G: Graph[_Node],
|
||||
*,
|
||||
link: str | None,
|
||||
source: str = "source",
|
||||
target: str = "target",
|
||||
name: str = "id",
|
||||
key: str = "key",
|
||||
edges: str | None = None,
|
||||
nodes: str = "nodes",
|
||||
link: str | None = None,
|
||||
): ...
|
||||
@overload
|
||||
def node_link_data(
|
||||
|
||||
Reference in New Issue
Block a user