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 3e3fcbf commit dd053ed
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 @@ -47,8 +47,8 @@
def daily_notices_metadata_update():
@task
def update_daily_notices_metadata_from_ted_api():
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_from_ted(start_date=datetime.strptime(start_date, "%Y-%m-%d"),
end_date=datetime.strptime(end_date, "%Y-%m-%d"))
Expand Down

0 comments on commit dd053ed

Please sign in to comment.