blackkkkkkkkkkkkkkkk
This commit is contained in:
parent
de3899c69f
commit
ded29bb8d0
@ -66,4 +66,4 @@ def combine_dossier_id_and_file_id_and_extension(dossier_id, file_id, extension)
|
|||||||
def upload_compressed_response(storage, bucket_name, dossier_id, file_id, result) -> None:
|
def upload_compressed_response(storage, bucket_name, dossier_id, file_id, result) -> None:
|
||||||
data = gzip.compress(result.encode())
|
data = gzip.compress(result.encode())
|
||||||
path_gz = combine_dossier_id_and_file_id_and_extension(dossier_id, file_id, CONFIG.service.response.extension)
|
path_gz = combine_dossier_id_and_file_id_and_extension(dossier_id, file_id, CONFIG.service.response.extension)
|
||||||
storage.put_object(bucket_name, path_gz, data)
|
storage.put_object(bucket_name, path_gz, data)
|
||||||
|
|||||||
@ -62,4 +62,4 @@ def read_connection_params():
|
|||||||
heartbeat=CONFIG.rabbitmq.heartbeat,
|
heartbeat=CONFIG.rabbitmq.heartbeat,
|
||||||
credentials=credentials,
|
credentials=credentials,
|
||||||
)
|
)
|
||||||
return parameters
|
return parameters
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user