I am trying to start with the Python API for the Google Compute Engine using the hello world tutorial at https://developers.google.com/compute/docs/api/python_guide#setup
When making a call, response = request.execute(auth_http) , although I get the following error signaling, which I cannot authenticate:
WARNING:oauth2client.util:execute() takes at most 1 positional argument (2 given)
I obviously only pass one positional argument (auth_http) and I searched for the answers oauth2client / util.py, apiclient / http.py and oauth2client / client.py, but nothing seems to be wrong. I found a stack overflow message that ran into the same problem, but it looks like in the constructor of the OAuth2WebServerFlow class in oauth2client / client.py, the access_type parameter is set to 'offline' already (although, to be honest, I do not quite understand what is happening here in terms of configuring oauth2.0 streams).
Any suggestions would be greatly appreciated, and thanks in advance!
source share