Hi all,

I have the following annoying problem. It appears today... but I have run 
this snippet thousands of time without any issue :(

# export the key location into the system path
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "key.json"

bucket = storage.Client().get_bucket(
args['bucket_id']
)

and the run returns:

Traceback (most recent call last): File "labelled_sentence_generator.py", 
line 223, in <module> bucket = storage.Client().get_bucket( File 
"/usr/local/lib/python2.7/dist-packages/google/cloud/storage/client.py", 
line 86, in __init__ self._connection = Connection(self, 
client_info=client_info) File 
"/usr/local/lib/python2.7/dist-packages/google/cloud/storage/_http.py", 
line 33, in __init__ super(Connection, self).__init__(client, 
client_info)TypeError: __init__() takes exactly 2 arguments (3 given)

Thanks for any help :)

Best regards

Jerome

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b56a5deb-3d58-4918-8085-7152e3b44daa%40googlegroups.com.

Reply via email to