Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

networkx's nodes cannot be typed #595

Open
marcenacp opened this issue Mar 12, 2024 · 0 comments
Open

networkx's nodes cannot be typed #595

marcenacp opened this issue Mar 12, 2024 · 0 comments

Comments

@marcenacp
Copy link
Contributor

marcenacp commented Mar 12, 2024

There is no such thing as nx.MultiDiGraph[Node]. As a consequence, pytype always expects Hashables instead of Nodes and raises typing errors. We patched this in 93de08e.

A longer-term solution would be to be able to properly type networkx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant