Skip to content

Commit

Permalink
Change param name to schedule
Browse files Browse the repository at this point in the history
schedule_interval is deprecated and will be removed so updating param name
  • Loading branch information
SiddiqueAhmad authored Apr 4, 2024
1 parent a8e3e49 commit 7aa0275
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/configuration/scheduling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To schedule a dbt project on a time-based schedule, you can use Airflow's schedu
jaffle_shop = DbtDag(
# ...
start_date=datetime(2023, 1, 1),
schedule_interval="@daily",
schedule="@daily",
)
Expand Down Expand Up @@ -45,12 +45,12 @@ Then, you can use Airflow's data-aware scheduling capabilities to schedule ``my_
project_one = DbtDag(
# ...
start_date=datetime(2023, 1, 1),
schedule_interval="@daily",
schedule="@daily",
)
project_two = DbtDag(
# for airflow >=2.3
# schedule_interval=[get_dbt_dataset("my_conn", "project_one", "my_model")],
# for airflow <=2.3
# schedule=[get_dbt_dataset("my_conn", "project_one", "my_model")],
# for airflow > 2.3
schedule=[get_dbt_dataset("my_conn", "project_one", "my_model")],
dbt_project_name="project_two",
Expand Down

0 comments on commit 7aa0275

Please sign in to comment.