-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Fix stubtest errors for updating aiofiles. #9711
Conversation
@@ -9,6 +9,15 @@ aiofiles.threadpool.binary.AsyncBufferedIOBase.readable | |||
aiofiles.threadpool.binary.AsyncBufferedIOBase.seekable | |||
aiofiles.threadpool.binary.AsyncBufferedIOBase.tell | |||
aiofiles.threadpool.binary.AsyncBufferedIOBase.writable | |||
aiofiles.threadpool.binary.AsyncIndirectBufferedIOBase.close |
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.
All of the allowlist are copy pasting the non-indirect version above it. This version introduces indirect variants of most of IO classes that need exception for same reason (at runtime they delegate with *args/**kwargs).
This comment has been minimized.
This comment has been minimized.
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.
Thank you, and sorry for the delay in anybody getting to this! A few thoughts:
@hmc-cs-mdrissi could you respond to Alex's feedback? |
Sorry on delay. I think I've covered all comments now. |
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 for the fixes!
Resolves stubsabot. Not a library I've used so generally read over implementation.