We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67b5d06 commit 3fb2a38Copy full SHA for 3fb2a38
googleapiclient/_auth.py
@@ -126,7 +126,8 @@ def get_credentials_from_http(http):
126
return None
127
elif hasattr(http.request, 'credentials'):
128
return http.request.credentials
129
- elif hasattr(http, 'credentials'):
+ elif (hasattr(http, 'credentials')
130
+ and not isinstance(http.credentials, httplib2.Credentials)):
131
return http.credentials
132
else:
133
0 commit comments