Skip to content

Discovery caching with file_cache is unsupported #2272

Open
@peterkappelt

Description

@peterkappelt

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 on oauth2client<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 the oauth2client.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

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs more infoThis issue needs more information from the customer to proceed.type: questionRequest for information or clarification. Not an issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions