datalab-examples
datalab-examples copied to clipboard
oauth flow no longer works in Getting started with the Genomics API.ipynb
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