Published package is missing discovery files in discovery_cache
See original GitHub issueMany 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 env
source env/bin/activate
python3 -m pip install google-api-python-client
ls 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__
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Unable to find DiscoveryClient for IdentityServer4
Installed IdentityModel nuget package in .Net 7.5 MVC application. But unable to find the DiscoveryClient . var discoveryClient = new ...
Read more >Discovery Endpoint — IdentityModel documentation
Caching and HttpClient Instances¶. By default the discovery cache will create a new instance of HttpClient every time it needs to access the...
Read more >Primo VE 2022 Release Notes - Ex Libris Knowledge Center
In your customization package, support the customization of the Feedback ... For more details, see Configuring Discovery Views for Primo VE.
Read more >Negative DC Discovery Cache Setting - ADMX Help
Negative DC Discovery Cache Setting. Specifies the amount of time (in seconds) the DC locator remembers that a domain controller (DC) could not...
Read more >Recover from Corrupt or Missing File Image or in ROMmon ...
Issue the show bootvar command to check the current boot variable. Switch#show bootvar BOOT variable = bootflash:packages.conf; Configuration Register is 0x1822 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay, I just found out: https://github.com/googleapis/google-api-python-client/issues/1225#issuecomment-791058235 and https://github.com/googleapis/google-api-python-client/issues/1225#issuecomment-791045487
Our API is indeed private at this point.
Closing this off, as the discussion is already in #1225 and we are going to proceed with this change.