blackkkkkkkkkkkkkkkk

This commit is contained in:
Julius Unverfehrt 2022-03-15 14:02:37 +01:00
parent de3899c69f
commit ded29bb8d0
2 changed files with 2 additions and 2 deletions

View File

@ -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:
data = gzip.compress(result.encode())
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)

View File

@ -62,4 +62,4 @@ def read_connection_params():
heartbeat=CONFIG.rabbitmq.heartbeat,
credentials=credentials,
)
return parameters
return parameters