add log
This commit is contained in:
parent
1ee797e0f1
commit
194bd79456
@ -68,7 +68,7 @@ def process_request(request_message):
|
|||||||
classifications_cv = []
|
classifications_cv = []
|
||||||
|
|
||||||
result = {**request_message, "data": classifications, "dataCV": classifications_cv}
|
result = {**request_message, "data": classifications, "dataCV": classifications_cv}
|
||||||
logger.debug("predictions ready")
|
logger.info("predictions ready for file_id=%s, and daossier_id=%s", target_file_name, file_id, dossier_id)
|
||||||
storage_bytes = gzip.compress(json.dumps(result).encode("utf-8"))
|
storage_bytes = gzip.compress(json.dumps(result).encode("utf-8"))
|
||||||
storage.put_object(bucket, response_file_name, storage_bytes)
|
storage.put_object(bucket, response_file_name, storage_bytes)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user