Skip to content

Commit e795767

Browse files
committed
fix: Replace DummyOperator by EmptyOperator as it was removed in Airflow 2.4.3
1 parent a917f36 commit e795767

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ data:
88
from datetime import datetime, timedelta
99
from airflow import DAG
1010
from airflow.operators.bash import BashOperator
11-
from airflow.operators.dummy import DummyOperator
11+
from airflow.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)