diff --git a/src/lambdas/push_enriched_xml/index.py b/src/lambdas/push_enriched_xml/index.py index d4c527a5f..9a343c0dd 100644 --- a/src/lambdas/push_enriched_xml/index.py +++ b/src/lambdas/push_enriched_xml/index.py @@ -60,6 +60,7 @@ def patch_judgment_request( f"{api_endpoint}judgment/{query}", auth=HTTPBasicAuth(username, pw), data=data.encode(), + params={"unlock": True}, ) print(response) response.raise_for_status() @@ -110,9 +111,6 @@ def process_event(sqs_rec: SQSRecord) -> None: api_endpoint, judgment_uri, file_content, API_USERNAME, API_PASSWORD ) - # release the lock - release_lock(api_endpoint, judgment_uri, API_USERNAME, API_PASSWORD) - ############################################ # - INSTANTIATE CLASS HELPERS