Complete the code to disable catchup in an Airflow DAG.
dag = DAG('example_dag', catchup=[1])
Setting catchup=False disables the catchup behavior in Airflow DAGs.
Complete the code to set the start date for an Airflow DAG to January 1, 2023.
dag = DAG('example_dag', start_date=datetime([1]))
The start_date defines when the DAG begins scheduling. January 1, 2023 is datetime(2023, 1, 1).
Fix the error in the DAG definition to enable backfill for missed runs.
dag = DAG('example_dag', catchup=[1])
Backfill runs missed DAG runs. Setting catchup=True enables backfill.
Fill both blanks to create a DAG that starts on March 1, 2023 and disables catchup.
dag = DAG('example_dag', start_date=datetime([1]), catchup=[2])
The DAG starts on March 1, 2023 with datetime(2023, 3, 1) and catchup is disabled by setting catchup=False.
Fill all three blanks to define a DAG with start date April 10, 2023, catchup enabled, and schedule interval daily.
dag = DAG('example_dag', start_date=datetime([1]), catchup=[2], schedule_interval=[3])
The DAG starts on April 10, 2023, catchup is enabled with True, and the schedule interval is daily using '@daily'.