[go: nahoru, domu]

Skip to content

Commit

Permalink
fix(storage): fix document of delete blob (#10015)
Browse files Browse the repository at this point in the history
  • Loading branch information
HemangChothani authored and crwilcox committed Jan 10, 2020
1 parent 5ad6287 commit 3bb565b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions storage/google/cloud/storage/blob.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,15 +546,11 @@ def delete(self, client=None):
:param client: Optional. The client to use. If not passed, falls back
to the ``client`` stored on the blob's bucket.
:rtype: :class:`Blob`
:returns: The blob that was just deleted.
:raises: :class:`google.cloud.exceptions.NotFound`
(propagated from
:meth:`google.cloud.storage.bucket.Bucket.delete_blob`).
"""
return self.bucket.delete_blob(
self.name, client=client, generation=self.generation
)
self.bucket.delete_blob(self.name, client=client, generation=self.generation)

def _get_transport(self, client):
"""Return the client's transport.
Expand Down

0 comments on commit 3bb565b

Please sign in to comment.