-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
mypy error - Module 'aiohttp' has no attribute 'ClientTimeout' #3468
Comments
GitMate.io thinks the contributor most likely able to help you is @asvetlov. Possibly related issues are #3242 (Error), #2840 (AttributeError: module 'asyncio' has no attribute 'current_task'), #843 (ImportError: No module named 'aiohttp'), #1753 (aiohttp.errors is gone), and #1059 (error install aiohttp). |
Looks like
We should get rid of wildcards everywhere. The fix should be backported to 3.5 |
@thanosexcite are you interested in making a PR with fix? |
Other linters like pylint also fail to follow wildcard imports BTW. It's an old known issue. |
@asvetlov OK, I'll give it a shot. Should I make the PR to master or to the 3.5 branch? |
PR for the master would be enough. |
Fixed by #3469 |
Long story short
I have the following example Python file:
example.py
Expected behaviour
Mypy returns no errors.
Actual behaviour
Running mypy on the above example file returns the following error:
Steps to reproduce
The text was updated successfully, but these errors were encountered: