Storage: Blob.delete returns self.bucket.delete_blob but delete_blob returns nothing #9985
Labels
api: storage
Issues related to the Cloud Storage API.
type: docs
Improvement to the documentation for an API.
Description
In this function docs returns part says returns
The blob that was just deleted.
but actuallyself.bucket.delete_blob
didn't return anything andrtype
also notBlob
butNone
.I'm not sure the fault is that
Blob.delete
return unnecessary orBucket.delete_blob
didn't return afterblob
api_request.Blob
https://github.com/googleapis/google-cloud-python/blob/master/storage/google/cloud/storage/blob.py#L548
Bucket
https://github.com/googleapis/google-cloud-python/blob/master/storage/google/cloud/storage/bucket.py#L1055
The text was updated successfully, but these errors were encountered: