ソースを参照

Fix/azure blob new version (#5004)

tags/0.6.11
Jyong 1年前
コミット
481e7bc6b9
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      api/extensions/storage/azure_storage.py

+ 1
- 1
api/extensions/storage/azure_storage.py ファイルの表示

@@ -39,7 +39,7 @@ class AzureStorage(BaseStorage):
def generate(filename: str = filename) -> Generator:
blob = client.get_blob_client(container=self.bucket_name, blob=filename)
with closing(blob.download_blob()) as blob_stream:
while chunk := blob_stream.readall(4096):
while chunk := blob_stream.readall():
yield chunk

return generate()

読み込み中…
キャンセル
保存