Azure / Azure/azure-storage-python

BlobStorage: Possibility of downloading a batch of blobs

未关闭
#554 5 条评论 8 个 reaction 已指派 0 人 在 GitHub 查看
feature request/enhancement
主要语言
Python
星标
343
派生
243
PR 合并指标
30 天内没有已合并 PR

描述

### Which service(blob, file, queue) does this issue concern?
blob

### Which version of the SDK was used? Please provide the output of `pip freeze`.
azure-storage-blob==1.4.0
azure-storage-common==1.4.0

### What problem was encountered?
I am missing the possibility of downloading/reading a batch of blobs (specifically a "folder") -- a functionality which is already present in the Azure CLI (`az storage blob download-batch`). I am currently using the `service.get_blob_to_text(container: str, path: str)`, and I imagine the syntax being `service.get_blobs_to_text(container: str, paths: iterable)`.

### Have you found a mitigation/solution?
Currently I am reading the files one-by-one, which generates a performance overhead.

贡献指南

打开贡献指南

调研方向

Start from the existing service.get_blob_to_text(container, path) entry point and compare its behavior with the Azure CLI's az storage blob download-batch command. Define how a batch of paths or a folder should be read and what reduced request overhead means for completion; the issue does not name implementation files or tests.

由索引模型根据 Issue 内容生成。

评估

技术栈
azure, python
领域
api, cloud
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。