Discovery caching with file_cache is unsupported #2272
Labels
needs more info
This issue needs more information from the customer to proceed.
type: question
Request for information or clarification. Not an issue.
Hey everyone, this is a follow-up related to #1490 and #299.
If I understand correctly,
discovery_cache.file_cache
is broken (since it relies onoauth2client<4.0.0
which is deprecated) and there is no way of using the discovery cache currently (outside of app engine environments), right?This is far from optimal, especially for a current project of mine, where API client objects are built frequently with different credentials - and I'd definitely prefer to avoid unnecessary discovery requests.
Do you have a plan/ strategy for supporting
file_cache
again in the future? If not, I'd suggest simply copying theoauth2client.contrib.locked_file
module over to this repository. It is self-contained and thus should be fairly easy to maintain. Would that be a workaround you'd consider acceptable?Cheers, Peter
The text was updated successfully, but these errors were encountered: