There was an error while loading. Please reload this page.
1 parent 5ad6287 commit 3bb565bCopy full SHA for 3bb565b
storage/google/cloud/storage/blob.py
@@ -546,15 +546,11 @@ def delete(self, client=None):
546
:param client: Optional. The client to use. If not passed, falls back
547
to the ``client`` stored on the blob's bucket.
548
549
- :rtype: :class:`Blob`
550
- :returns: The blob that was just deleted.
551
:raises: :class:`google.cloud.exceptions.NotFound`
552
(propagated from
553
:meth:`google.cloud.storage.bucket.Bucket.delete_blob`).
554
"""
555
- return self.bucket.delete_blob(
556
- self.name, client=client, generation=self.generation
557
- )
+ self.bucket.delete_blob(self.name, client=client, generation=self.generation)
558
559
def _get_transport(self, client):
560
"""Return the client's transport.
0 commit comments