From 7168fbfbae9b2be8b886f9c74f77365ad7d74c43 Mon Sep 17 00:00:00 2001 From: Adrian Date: Mon, 7 Oct 2024 10:56:39 -0400 Subject: [PATCH] fix: CQDG-873 remove isRestricted from Fhir Import --- dags/etl_fhir_import.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dags/etl_fhir_import.py b/dags/etl_fhir_import.py index 0e675dd..2d684f3 100644 --- a/dags/etl_fhir_import.py +++ b/dags/etl_fhir_import.py @@ -25,7 +25,7 @@ def fhir_import(): csv_import = (fhir_import_config - .args(prefix(), study_clin_data_id(), study_clin_data_version(), study_code, project(), "true", is_restricted()) + .args(prefix(), study_clin_data_id(), study_clin_data_version(), study_code, project(), "true") .operator( task_id='fhir_import', name='etl-fhir_import', @@ -45,7 +45,6 @@ def fhir_import(): 'studyVersion': Param('13', type='string'), 'study_code': Param('cag', type='string'), 'project': Param('jmichaud', type='string'), - 'is_restricted': Param('false', enum=['true', 'false']), }, ) as dag: def prefix() -> str: @@ -63,8 +62,4 @@ def study_clin_data_version() -> str: def project() -> str: return '{{ params.project }}' - - def is_restricted() -> str: - return '{{ params.is_restricted }}' - fhir_import()