【发布时间】:2019-09-22 02:23:17
【问题描述】:
当尝试使用适用于 Python 的 Azure 存储 SDK 从 Azure 而非公共 Blob 存储下载文件时,获取 object has no attribute 'read'
blob_service = BlockBlobService(account_name = account_name, account_key = blob_key)
blob_service.get_blob_to_path(container_name,remote_file_name,local_file_name)
我生成了带有过期日期的 SAS 令牌,但没有信息如何将它与 BlockBlobService 一起使用?它适用于公共文件。
【问题讨论】:
标签: python-3.x azure-storage azure-blob-storage