Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit f0bc072

Browse files
author
Jon Wayne Parrott
authored
Remove unneeded import guard (#144)
1 parent 1049bb2 commit f0bc072

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

  • additional_packages/google_auth_oauthlib/google_auth_oauthlib

additional_packages/google_auth_oauthlib/google_auth_oauthlib/helpers.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,8 @@
2323

2424
import json
2525

26-
try:
27-
import requests_oauthlib
28-
except ImportError: # pragma: NO COVER
29-
raise ImportError(
30-
'The requests-oauthlib library is not installed, please install the '
31-
'requests-oauthlib package to use google.oauth2.oauthlib.')
32-
3326
import google.oauth2.credentials
27+
import requests_oauthlib
3428

3529
_REQUIRED_CONFIG_KEYS = frozenset(('auth_uri', 'token_uri', 'client_id'))
3630

0 commit comments

Comments
 (0)