Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from collections.abc import Iterable
from collections.abc import Iterable, Mapping

from networkx.classes.graph import Graph, _Node
from networkx.utils.backends import _dispatchable
Expand All @@ -12,8 +12,8 @@ def birank(
*,
alpha: float | None = None,
beta: float | None = None,
top_personalization: dict[str, int] | None = None,
bottom_personalization: dict[str, int] | None = None,
top_personalization: Mapping[_Node, float] | None = None,
bottom_personalization: Mapping[_Node, float] | None = None,
max_iter: int = 100,
tol: float = 1.0e-6,
weight: str | None = "weight",
Expand Down
Loading