Commit ccf5e998 authored by Arnaud Jaen's avatar Arnaud Jaen
Browse files

Increase maximum size of single put

parent 8ac3928e
......@@ -24,6 +24,7 @@ from azure.core.exceptions import ClientAuthenticationError
LOGGER = logging.getLogger()
MAX_SIZE = 250*1024*1024
class AzureBlobClient:
"""Generic Blob Client for Azure"""
......@@ -66,7 +67,8 @@ class AzureBlobClient:
:rtype: ContainerClient
"""
return ContainerClient(
account_url=self.account_url, container_name=container_name, credential=self._generate_sas_signature()
account_url=self.account_url, container_name=container_name, credential=self._generate_sas_signature(),
max_single_put_size=MAX_SIZE
)
def blob_service_client(self) -> BlobServiceClient:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment