-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Fix some Any subclassing in tqdm #9505
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
Conversation
This comment has been minimized.
This comment has been minimized.
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.
The keras
and dask
changes look great. Mind splitting the rich
changes off into a separate PR? They're a little more complex and my brain's going a little fuzzy thinking about nominal vs structural subtyping 😅
If it feels too complex for our needs, I can always make more things |
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
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.
Thanks!
Maybe we could start off with something simpler for now? We can always refine it in the future :) |
Fixes
42 Any subclassing issues by replicating the types used in external modules.Therich
one isn't complete as it was starting to get quite complex (I don't wanna re-implement the entire library's types either!)Ref: #9491