-
Notifications
You must be signed in to change notification settings - Fork 17
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
With 2.2.1 mypy complains that 'google.cloud' is missing 'storage' attribute #166
Comments
Hi @asfaltboy,
If the only error you are seeing is on that line, the best course of action is to skip type checking for from google.cloud import storage # type: ignore
from google.cloud import ... |
If you don't want to use
|
This may be related to recent changes in core and this issue:
Environment details
google-cloud-core
version: 2.2.1Steps to reproduce
pip install google-cloud-core google-cloud-storage mypy
mypy .
getsModule 'google.cloud' has no attribute 'storage'
pip install google-cloud-core<2
mypy .
returns no errorsCode example
The text was updated successfully, but these errors were encountered: