Skip to content

Update type hints for networkx birank personalization parameters#15889

Open
LorentzFactor wants to merge 1 commit into
python:mainfrom
LorentzFactor:patch-1
Open

Update type hints for networkx birank personalization parameters#15889
LorentzFactor wants to merge 1 commit into
python:mainfrom
LorentzFactor:patch-1

Conversation

@LorentzFactor

Copy link
Copy Markdown

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. 🤖🎉

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.

1 participant