Skip to content

Commit e346282

Browse files
committed
Fix #141: remove spurious *args / **kwargs from API methods.
1 parent 1823b0f commit e346282

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

gcloud/storage/connection.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def api_request(self, method, path=None, query_params=None,
230230

231231
return content
232232

233-
def get_all_buckets(self, *args, **kwargs):
233+
def get_all_buckets(self):
234234
"""Get all buckets in the project.
235235
236236
This will not populate the list of keys available
@@ -253,7 +253,7 @@ def get_all_buckets(self, *args, **kwargs):
253253

254254
return list(self)
255255

256-
def get_bucket(self, bucket_name, *args, **kwargs):
256+
def get_bucket(self, bucket_name):
257257
"""Get a bucket by name.
258258
259259
If the bucket isn't found,
@@ -312,7 +312,7 @@ def lookup(self, bucket_name):
312312
except exceptions.NotFoundError:
313313
return None
314314

315-
def create_bucket(self, bucket, *args, **kwargs):
315+
def create_bucket(self, bucket):
316316
"""Create a new bucket.
317317
318318
For example::
@@ -335,7 +335,7 @@ def create_bucket(self, bucket, *args, **kwargs):
335335
data={'name': bucket.name})
336336
return Bucket.from_dict(response, connection=self)
337337

338-
def delete_bucket(self, bucket, force=False, *args, **kwargs):
338+
def delete_bucket(self, bucket, force=False):
339339
"""Delete a bucket.
340340
341341
You can use this method to delete a bucket by name,

0 commit comments

Comments
 (0)