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 ba3cf16 commit 3e3fcbf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dags/daily_notices_metadata_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@

from datetime import date, datetime

from airflow.models import Param
from airflow.decorators import dag, task
from airflow.models import Param
from airflow.timetables.trigger import CronTriggerTimetable

from dags import DEFAULT_DAG_ARGUMENTS
from dags.dags_utils import get_dag_param
from ted_sws.supra_notice_manager.services.daily_notices_metadata_services import update_daily_notices_metadata_from_ted, \
from ted_sws.supra_notice_manager.services.daily_notices_metadata_services import \
update_daily_notices_metadata_from_ted, \
update_daily_notices_metadata_with_fetched_data

START_DATE_PARAM_KEY = "start_date"
Expand All @@ -19,6 +21,8 @@
@dag(default_args=DEFAULT_DAG_ARGUMENTS,
schedule_interval=None,
tags=['daily', "dashboards", "metadata", "ted", "notices"],
catchup=False,
timetable=CronTriggerTimetable('0 19 * * *', timezone='UTC'),
description=__doc__[0: __doc__.find(".")],
doc_md=__doc__,
params={
Expand Down

0 comments on commit 3e3fcbf

Please sign in to comment.