[azure-storage-blob] list_blobs() cannot work with include=metadata #12926
Labels
Client
This issue points to a problem in the data-plane of the library.
needs-author-feedback
Workflow: More information is needed from author to address the issue.
no-recent-activity
There has been no recent activity on this issue.
Service Attention
Workflow: This issue is responsible by Azure service team.
Storage
Storage Service (Queues, Blobs, Files)
Describe the bug
A clear and concise description of what the bug is.
When listing blobs in a container with metadata information, as description mentioned and track1 behavior, we could add --include=metadata to get such results.
But when I use it in new sdk, I can get the response with metadata information in raw response here as shown below but after deserialization it is skipped and change to None.
I am guessing it is because Model
ListBlobsFlatSegmentResponse
doesn't include metadata properties. But I think if we have such behavior to include metadata, we should return response with metadata and it will be fine to align with track1 behavior.If there is anything misuse, feel free to let me know.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: