We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running mypy against this code:
mypy
import aiofiles # ... async with aiofiles.open('filename', 'wb') as file: # ...
returns these errors:
error: "AsyncBufferedIOBase" has no attribute "__aenter__" error: "AsyncBufferedIOBase" has no attribute "__aexit__"
I'm using:
Python 3.8.6 aiofiles 0.6.0 mypy 0.790
The text was updated successfully, but these errors were encountered:
Upgrading to v0.812 should resolve the issue
See: python/mypy#9739
Sorry, something went wrong.
Yes, I confirm. Thanks
No branches or pull requests
Running
mypy
against this code:returns these errors:
I'm using:
The text was updated successfully, but these errors were encountered: