-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Improve handling of create_using to allow Mixins of type Protocol #6244
Conversation
Is there anything blocking this PR? |
The main consideration is that |
Ah I see! Exciting milestone for networkx! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3.0 is out 🥳
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's give it a shot!
…tworkx#6244) switch create_using handling to `isinstance(_, type)` instead of `type(_) is type`
…tworkx#6244) switch create_using handling to `isinstance(_, type)` instead of `type(_) is type`
…tworkx#6244) switch create_using handling to `isinstance(_, type)` instead of `type(_) is type`
switch create_using handling to
isinstance(_, type)
instead oftype(_) is type
Fixes: #6243