Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 2d7d82c

Browse files
HemangChothanicrwilcox
authored andcommitted
fix(storage): fix document of delete blob (#10015)
1 parent a0a4ea8 commit 2d7d82c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

google/cloud/storage/blob.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -546,15 +546,11 @@ def delete(self, client=None):
546546
:param client: Optional. The client to use. If not passed, falls back
547547
to the ``client`` stored on the blob's bucket.
548548
549-
:rtype: :class:`Blob`
550-
:returns: The blob that was just deleted.
551549
:raises: :class:`google.cloud.exceptions.NotFound`
552550
(propagated from
553551
:meth:`google.cloud.storage.bucket.Bucket.delete_blob`).
554552
"""
555-
return self.bucket.delete_blob(
556-
self.name, client=client, generation=self.generation
557-
)
553+
self.bucket.delete_blob(self.name, client=client, generation=self.generation)
558554

559555
def _get_transport(self, client):
560556
"""Return the client's transport.

0 commit comments

Comments
 (0)