Azure / Azure/azure-storage-python

azure-storage-blob 12.0.0

未关闭
#640 11 条评论 7 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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 12.0.0

### What problem was encountered?
cannot import name 'BlockBlobService' from 'azure.storage.blob'

### Have you found a mitigation/solution?
Revert back to v2.1.0

I just want to add that in [pypi](https://pypi.org/project/azure-storage-blob/) the documentation mentions to use `from azure.storage.blob import BlobServiceClient`. However the documentation found in [https://azure-storage.readthedocs.io/index.html](https://azure-storage.readthedocs.io/index.html) still mentions using BlockBlobService instead. So can I clarify which package are we expected to import going forward?

贡献指南

打开贡献指南

调研方向

首先比较 PyPI 中关于 BlobServiceClient 的指导与 azure-storage.readthedocs.io 中关于 BlockBlobService 的指导,然后检查报告中列出的 import 入口。完成的标准是确定 azure-storage-blob 12.0.0 支持的 import,并确保相互冲突的文档清楚地反映今后预期使用的 package。

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

评估

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

把新 issue 发到你的邮箱

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