Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

oauth flow no longer works in Getting started with the Genomics API.ipynb #11

Open
deflaux opened this issue Feb 3, 2016 · 0 comments

Comments

@deflaux
Copy link
Contributor

deflaux commented Feb 3, 2016

Instead, use Application Default Credentials

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-14-97403ccf269a> in <module>()
      1 from httplib2 import Http
----> 2 from oauth2client.gce import AppAssertionCredentials
      3 credentials = AppAssertionCredentials(
      4     'https://www.googleapis.com/auth/cloud-platform')
      5 http = Http()

/usr/local/lib/python2.7/dist-packages/oauth2client/gce.py in <module>()
     24 from oauth2client._helpers import _from_bytes
     25 from oauth2client import util
---> 26 from oauth2client.client import HttpAccessTokenRefreshError
     27 from oauth2client.client import AssertionCredentials
     28 

ImportError: cannot import name HttpAccessTokenRefreshError
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant