mirror of
https://github.com/clearml/clearml
synced 2025-01-31 09:07:00 +00:00
Fix upload_object_via_stream() in Azure storage driver
This commit is contained in:
parent
0298b84030
commit
5d04b21a79
@ -1587,7 +1587,7 @@ class _AzureBlobServiceStorageDriver(_Driver):
|
||||
container.blob_service.create_blob_from_bytes(
|
||||
container.name,
|
||||
object_name,
|
||||
bytes(iterator),
|
||||
iterator.read() if hasattr(iterator, "read") else bytes(iterator),
|
||||
# timeout=300,
|
||||
max_connections=2,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user