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 dd053ed commit da1977c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dags/daily_notices_metadata_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit da1977c

Please sign in to comment.