FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update type hints for networkx birank personalization parameters by LorentzFactor · Pull Request #15889 · python/typeshed · GitHub

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .pyi  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Back | FazBrowse Home | New Git URL