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