Skip to content

Commit 95b8fba

Browse files
committed
fix(dags): replace schedule_interval as schedule since it's changed in airflow 3
1 parent 9a877e1 commit 95b8fba

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

dags/app/channel_reminder/dag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
@dag(
2222
default_args=DEFAULT_ARGS,
23-
schedule_interval="@yearly",
23+
schedule="@yearly",
2424
max_active_runs=1,
2525
catchup=False,
2626
)

dags/app/finance_bot/dag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
@dag(
2929
default_args=DEFAULT_ARGS,
30-
schedule_interval="@daily",
30+
schedule="@daily",
3131
max_active_runs=1,
3232
catchup=False,
3333
)

dags/app/proposal_reminder/dag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
@dag(
2323
default_args=DEFAULT_ARGS,
24-
schedule_interval="0 16 * * *", # At 16:00 (00:00 +8)
24+
schedule="0 16 * * *", # At 16:00 (00:00 +8)
2525
max_active_runs=1,
2626
catchup=False,
2727
)

dags/app/team_registration_bot/dag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
@dag(
2626
default_args=DEFAULT_ARGS,
27-
schedule_interval="@daily",
27+
schedule="@daily",
2828
max_active_runs=1,
2929
catchup=False,
3030
)

dags/app/twitter_post_notification_bot/dag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
@dag(
2525
"TWITTER_POST_NOTIFICATION_BOT_V2",
2626
default_args=DEFAULT_ARGS,
27-
schedule_interval="@daily",
27+
schedule="@daily",
2828
max_active_runs=1,
2929
catchup=False,
3030
)

dags/ods/fb_post_insights/dag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
@dag(
2020
default_args=DEFAULT_ARGS,
21-
schedule_interval="5 8 * * *",
21+
schedule="5 8 * * *",
2222
max_active_runs=1,
2323
catchup=False,
2424
)

dags/ods/ig_post_insights/dags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
@dag(
2020
default_args=DEFAULT_ARGS,
21-
schedule_interval="5 8 * * *",
21+
schedule="5 8 * * *",
2222
max_active_runs=1,
2323
catchup=False,
2424
)

dags/ods/kktix_ticket_orders/kktix_dag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
@dag(
2121
default_args=DEFAULT_ARGS,
22-
schedule_interval="50 * * * *",
22+
schedule="50 * * * *",
2323
max_active_runs=1,
2424
catchup=True,
2525
)

dags/ods/kktix_ticket_orders/kktix_refund_dag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
@dag(
2121
default_args=DEFAULT_ARGS,
22-
schedule_interval="50 23 * * *", # At 23:50 (everyday)
22+
schedule="50 23 * * *", # At 23:50 (everyday)
2323
max_active_runs=1,
2424
catchup=True,
2525
)

dags/ods/linkedin_post_insights/dags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
@dag(
2020
default_args=DEFAULT_ARGS,
21-
schedule_interval="5 8 */2 * *",
21+
schedule="5 8 */2 * *",
2222
max_active_runs=1,
2323
catchup=False,
2424
)

0 commit comments

Comments
 (0)