Skip to content

Commit

Permalink
fix: CQDG-873 remove isRestricted from Fhir Import
Browse files Browse the repository at this point in the history
  • Loading branch information
adipaul1981 committed Oct 7, 2024
1 parent c257764 commit 7168fbf
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions dags/etl_fhir_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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:
Expand All @@ -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()

0 comments on commit 7168fbf

Please sign in to comment.