From a31ae28d108c6f7f39985518b614dd15509fa397 Mon Sep 17 00:00:00 2001 From: Dumitru Date: Fri, 6 Oct 2023 16:31:10 +0300 Subject: [PATCH] Update daily_notices_metadata_update.py --- dags/daily_notices_metadata_update.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dags/daily_notices_metadata_update.py b/dags/daily_notices_metadata_update.py index 0697f054..f9538f0a 100644 --- a/dags/daily_notices_metadata_update.py +++ b/dags/daily_notices_metadata_update.py @@ -63,12 +63,10 @@ def update_daily_notices_metadata_with_fetched_data_from_repo(): end_date = get_dag_param(key=END_DATE_PARAM_KEY, default_value=(datetime.today() - timedelta(days=1)).strftime( DEFAULT_TED_API_START_DATE_FORMAT)) - update_daily_notices_metadata_from_ted( + update_daily_notices_metadata_with_fetched_data( start_date=datetime.strptime(start_date, DEFAULT_TED_API_START_DATE_FORMAT), end_date=datetime.strptime(end_date, DEFAULT_TED_API_START_DATE_FORMAT)) - update_daily_notices_metadata_with_fetched_data(start_date=start_date, end_date=end_date) - update_daily_notices_metadata_from_ted_api() >> update_daily_notices_metadata_with_fetched_data_from_repo()