Even after PR #4650, the stubs for aiofiles are incorrect.
The stubs still don't include wrapped methods for AsyncBufferedReader, AsyncBufferedIOBase, AsyncBufferedReader and AsyncFileIO. Something like this doesn't type check, since, according to current stubs, AsyncBufferedReader has no read method:
Activity
srittau commented on Oct 27, 2020
Any PRs welcome!