diff --git a/airflow/example_dags/example_external_task_marker_dag.py b/airflow/example_dags/example_external_task_marker_dag.py index 851a7ad71ca54..b6c3da8436086 100644 --- a/airflow/example_dags/example_external_task_marker_dag.py +++ b/airflow/example_dags/example_external_task_marker_dag.py @@ -43,11 +43,12 @@ from airflow.operators.dummy import DummyOperator from airflow.sensors.external_task import ExternalTaskMarker, ExternalTaskSensor -start_date = datetime.datetime(2015, 1, 1) +start_date = datetime.datetime(2021, 1, 1) with DAG( dag_id="example_external_task_marker_parent", start_date=start_date, + catchup=False, schedule_interval=None, tags=['example2'], ) as parent_dag: @@ -63,6 +64,7 @@ dag_id="example_external_task_marker_child", start_date=start_date, schedule_interval=None, + catchup=False, tags=['example2'], ) as child_dag: # [START howto_operator_external_task_sensor] diff --git a/airflow/providers/microsoft/azure/example_dags/example_fileshare.py b/airflow/providers/microsoft/azure/example_dags/example_fileshare.py index d37a410f85fc3..c6c702d1e78c3 100644 --- a/airflow/providers/microsoft/azure/example_dags/example_fileshare.py +++ b/airflow/providers/microsoft/azure/example_dags/example_fileshare.py @@ -43,5 +43,10 @@ def delete_fileshare(): hook.delete_share(NAME) -with DAG("example_fileshare", schedule_interval="@once", start_date=datetime(2021, 1, 1)) as dag: +with DAG( + "example_fileshare", + schedule_interval="@once", + start_date=datetime(2021, 1, 1), + catchup=False, +) as dag: create_fileshare() >> delete_fileshare() diff --git a/airflow/providers/microsoft/azure/example_dags/example_local_to_adls.py b/airflow/providers/microsoft/azure/example_dags/example_local_to_adls.py index cbad955c7a8e0..8dd0a682eb595 100644 --- a/airflow/providers/microsoft/azure/example_dags/example_local_to_adls.py +++ b/airflow/providers/microsoft/azure/example_dags/example_local_to_adls.py @@ -28,6 +28,7 @@ with models.DAG( "example_local_to_adls", start_date=datetime(2021, 1, 1), + catchup=False, schedule_interval=None, tags=['example'], ) as dag: diff --git a/airflow/providers/microsoft/azure/example_dags/example_local_to_wasb.py b/airflow/providers/microsoft/azure/example_dags/example_local_to_wasb.py index 41c97d4a158f2..d77f09b377615 100644 --- a/airflow/providers/microsoft/azure/example_dags/example_local_to_wasb.py +++ b/airflow/providers/microsoft/azure/example_dags/example_local_to_wasb.py @@ -28,6 +28,7 @@ "example_local_to_wasb", schedule_interval="@once", start_date=datetime(2021, 1, 1), + catchup=False, default_args={"container_name": "mycontainer", "blob_name": "myblob"}, ) as dag: upload = LocalFilesystemToWasbOperator(task_id="upload_file", file_path=PATH_TO_UPLOAD_FILE)