-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Labels
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Many thanks to the @wyk9787 for noticing this and reaching out.
All calls to discovery.build() using 2.0.0 fail with "unknown api name or version".
from googleapiclient import discovery
client = discovery.build("cloudprofiler", "v2")This is because the published package has no discovery_cache/documents directory.
python3 -m venv envsource env/bin/activatepython3 -m pip install google-api-python-clientls env/lib/python*/site-packages/googleapiclient/discovery_cache
busunkim@busunkim:~/github$ ls env/lib/python*/site-packages/googleapiclient/discovery_cache
appengine_memcache.py base.py file_cache.py __init__.py __pycache__
FranciscoKnebel, wyk9787, parthea and aalexandlexsca and aalexand
Metadata
Metadata
Assignees
Labels
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.