Skip to content

Commit

Permalink
Update daily_notices_metadata_update.py
Browse files Browse the repository at this point in the history
  • Loading branch information
duprijil committed Oct 6, 2023
1 parent b1c5a1c commit a31ae28
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dags/daily_notices_metadata_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()


Expand Down

0 comments on commit a31ae28

Please sign in to comment.