Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
production
geocannabis--drone-analytics-2
azure-blob-lib
Commits
ccf5e998
Commit
ccf5e998
authored
Jun 11, 2021
by
Arnaud Jaen
Browse files
Increase maximum size of single put
parent
8ac3928e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
azure_blob_client/__init__.py
azure_blob_client/__init__.py
+3
-1
No files found.
azure_blob_client/__init__.py
View file @
ccf5e998
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment