Type hints incorrect for BlobClient.delete_blob() #13261
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
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.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Storage
Storage Service (Queues, Blobs, Files)
Describe the bug
A clear and concise description of what the bug is.
Docs for BlobClient.delete_blob() say that it takes a string parameter for delete_snapshots. The type hints on the function itself say that this is a bool.
https://docs.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.blobclient?view=azure-python#delete-blob-delete-snapshots-false----kwargs-
Expected behavior
A clear and concise description of what you expected to happen.
The docs should reflect reality. My IDE shouldn't flag my valid code as incorrect.
The text was updated successfully, but these errors were encountered: