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

Networkx set attributes scalar by Optccopa · Pull Request #16558 · python/typeshed · GitHub

Repository navigation

Networkx set attributes scalar - #16558

Open
Optccopa wants to merge 3 commits into
python:mainfrom
Optccopa:networkx-set-attributes-scalar
Open

Optccopa wants to merge 3 commits into
python:mainfrom
Optccopa:networkx-set-attributes-scalar

Conversation

Copy link
Copy Markdown

Fixes #16542.

When name is given, both functions accept any value and apply it to every node/edge (source).

agent used: claude code (opus 5.5)

Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

scipy-stubs (https://github.com/scipy/scipy-stubs)
+ tests/misc/test_submodules_empty.pyi:3: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

This branch has not been deployed

No deployments
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
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.

networkx.set_edge_attributes should support scalar value + name

1 participant


Back | FazBrowse Home | New Git URL