Azure Storage Blob: delete_blobs returns "tuple index out of range" when list_blobs are zero #12779
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Storage
Storage Service (Queues, Blobs, Files)
I retrieve blobs matching a certain pattern and then delete them. Currently it is implemented with a (costly) workaround as you can see in the following issue: #12778
When passing
blob_paged
directly todelete_blobs
it works as long asblob_paged
is not zero, but if it is zero (i.e. no blob matches the prefix) it returns the exceptiontuple index out of range
.Can you please adjust the behavior that
delete_blobs
can handleblob_paged
even if it is zero?Thanks
The text was updated successfully, but these errors were encountered: