Skip to content

Commit a8dc37d

Browse files
authored
fix: Replace DummyOperator by EmptyOperator in docs (#797)
* fix: Replace DummyOperator by EmptyOperator as it was removed in Airflow 2.4.3 * fix: it was moved once more
1 parent a917f36 commit a8dc37d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/modules/airflow/examples/example-configmap.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ data:
77
test_airflow_dag.py: | # <2>
88
from datetime import datetime, timedelta
99
from airflow import DAG
10-
from airflow.operators.bash import BashOperator
11-
from airflow.operators.dummy import DummyOperator
10+
from airflow.providers.standard.operators.bash import BashOperator
11+
from airflow.providers.standard.operators.empty import EmptyOperator
1212
1313
with DAG(
1414
dag_id='test_airflow_dag',
@@ -19,7 +19,7 @@ data:
1919
tags=['example', 'example2'],
2020
params={"example_key": "example_value"},
2121
) as dag:
22-
run_this_last = DummyOperator(
22+
run_this_last = EmptyOperator(
2323
task_id='run_this_last',
2424
)
2525

0 commit comments

Comments
 (0)