Open casparjespersen opened 5 years ago
Hi @casparjespersen, thanks for reaching out!
We already have this feature on our roadmap, but I unfortunately do not have a timeline to share yet.
@zezha-msft Any progress update on this?
Sorry @dreamflasher, there is no update for now, as we've been working on a new version of the SDK.
I created a Python wrapper for the Azure CLI to do downloads / uploads in batches, see here for more details:
Installation:
pip install azurebatchload
See the GitHub repo for usage examples.
Other than @erfannariman 's noble attempt, is there any update for this getting support from the offical sdk?
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 theservice.get_blob_to_text(container: str, path: str)
, and I imagine the syntax beingservice.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.