question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Published package is missing discovery files in discovery_cache

See original GitHub issue

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.

  1. python3 -m venv env
  2. source env/bin/activate
  3. python3 -m pip install google-api-python-client
  4. 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:closed
  • Created 3 years ago
  • Reactions:6
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

0reactions
partheacommented, Mar 9, 2021

Closing this off, as the discussion is already in #1225 and we are going to proceed with this change.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found