Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Add stub for _image#30058
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Add stub for _image#30058
Conversation
You would also need to update |
As the problem I was trying to solve is solved in a better way to import the relevant things from |
Uh oh!
There was an error while loading.Please reload this page.
PR summary
In#30054 there are mypy errors since this private module is not typed and the tests access it directly. I guess there is no harm to have typing here?
Just used mypy stubgen to generate one.
Edit: turns out that stubgen sorts the members in alphabetical order which lead to different enum numbering in the stubfile and the built class, so removed those from the class.
Edit 2: that wasn't it. No idea how to get this (apart from manually order them(?), but that seems brittle...)
PR checklist