Skip to content

Update type hints for networkx birank personalization parameters#15889

Merged
srittau merged 1 commit into
python:mainfrom
LorentzFactor:patch-1
Jun 11, 2026
Merged

Update type hints for networkx birank personalization parameters#15889
srittau merged 1 commit into
python:mainfrom
LorentzFactor:patch-1

Conversation

@LorentzFactor

Copy link
Copy Markdown
Contributor

Correct the top and bottom personalization mappings to specify float values. I contributed the algorithm's implementation to networkx, and it is definitely normal (and frequently expected) for floating point personalization scores to be used. Admittedly, the doc examples don't make this entirely clear.

Correct the top and bottom personalization mappings to specify float values.
@LorentzFactor LorentzFactor changed the title Update type hints for personalization parameters Update type hints for networkx birank personalization parameters Jun 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau merged commit 7ae857f into python:main Jun 11, 2026
44 checks passed
@srittau

srittau commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants