From b4ab270fea0790c5cf067f62fda1959f5a7511cf Mon Sep 17 00:00:00 2001 From: Alexis Lucattini Date: Mon, 27 Nov 2023 09:14:57 +1100 Subject: [PATCH] Fix union syntax for python 3.9 is_identified is always a string for lims deployment Resolves #200 --- .../lambda_code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/cttso-ica-to-pieriandx-cdk/lambdas/launch_available_payloads_and_update_cttso_lims_sheet/lambda_code.py b/deploy/cttso-ica-to-pieriandx-cdk/lambdas/launch_available_payloads_and_update_cttso_lims_sheet/lambda_code.py index 9c6c3c8..9194f63 100644 --- a/deploy/cttso-ica-to-pieriandx-cdk/lambdas/launch_available_payloads_and_update_cttso_lims_sheet/lambda_code.py +++ b/deploy/cttso-ica-to-pieriandx-cdk/lambdas/launch_available_payloads_and_update_cttso_lims_sheet/lambda_code.py @@ -290,7 +290,7 @@ def get_libraries_for_processing(merged_df) -> pd.DataFrame: ] -def submit_library_to_pieriandx(subject_id: str, library_id: str, workflow_run_id: str, lambda_arn: str, panel_type: str, sample_type: str, is_identified: Union[bool | str], default_snomed_term: str): +def submit_library_to_pieriandx(subject_id: str, library_id: str, workflow_run_id: str, lambda_arn: str, panel_type: str, sample_type: str, is_identified: str, default_snomed_term: str): """ Submit library to pieriandx :param is_identified: