Skip to content

sample_tools.py Requires the Deprecated oauth2client Library #834

Open
@KevinTydlacka

Description

@KevinTydlacka

Please update to use google-auth. If you're concerned about breaking changes try to import google-auth and use the flow from that library and fall back to oauth2client if google-auth is not present?

Environment details

  • OS: All
  • Python version: 3.6
  • pip version: All
  • google-api-python-client version: 1.7.11

Steps to reproduce

  1. Install google-api-python-client.
  2. Run init() from googleapiclient/sample_tools.py.
  3. Observe exception:
    ImportError: googleapiclient.sample_tools requires oauth2client. Please install oauth2client and try again.

Metadata

Metadata

Assignees

Labels

type: cleanupAn internal cleanup or hygiene concern.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions