From da1977cf69da12407422e0b07e2a69ac9644a096 Mon Sep 17 00:00:00 2001 From: Dumitru Date: Fri, 6 Oct 2023 16:03:58 +0300 Subject: [PATCH] Update daily_notices_metadata_update.py --- dags/daily_notices_metadata_update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dags/daily_notices_metadata_update.py b/dags/daily_notices_metadata_update.py index 88cf9787..5bf179fe 100644 --- a/dags/daily_notices_metadata_update.py +++ b/dags/daily_notices_metadata_update.py @@ -55,8 +55,8 @@ def update_daily_notices_metadata_from_ted_api(): @task def update_daily_notices_metadata_with_fetched_data_from_repo(): - start_date = get_dag_param(key=START_DATE_PARAM_KEY, raise_error=True) - end_date = get_dag_param(key=END_DATE_PARAM_KEY, raise_error=True) + start_date = get_dag_param(key=START_DATE_PARAM_KEY, raise_error=False) + end_date = get_dag_param(key=END_DATE_PARAM_KEY, raise_error=False) update_daily_notices_metadata_with_fetched_data(start_date=datetime.strptime(start_date, "%Y-%m-%d"), end_date=datetime.strptime(end_date, "%Y-%m-%d"))