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
8ac3928e
Commit
8ac3928e
authored
Jun 11, 2021
by
Arnaud Jaen
Browse files
Increase sas validity to 300
parent
f7db5595
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
azure_blob_client/__init__.py
azure_blob_client/__init__.py
+1
-1
No files found.
azure_blob_client/__init__.py
View file @
8ac3928e
...
...
@@ -41,7 +41,7 @@ class AzureBlobClient:
self
.
account_url
=
"https://{account_name}.blob.core.windows.net"
.
format
(
account_name
=
self
.
storage_account
)
self
.
sas_token
=
None
def
_generate_sas_signature
(
self
,
validity_in_secs
:
int
=
30
)
->
str
:
def
_generate_sas_signature
(
self
,
validity_in_secs
:
int
=
30
0
)
->
str
:
"""Generate an adapted SAS token
:param validity_in_secs: Validity for the token expressed in seconds, defaults to 30
...
...
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