Skip to content

Commit 96ebf29

Browse files
authored
Add backcompat shim and deprecation warning for EmailOperator (apache#51004)
1 parent fb37f95 commit 96ebf29

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

airflow-core/src/airflow/operators/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@
5858
"empty": {
5959
"EmptyOperator": "airflow.providers.standard.operators.empty.EmptyOperator",
6060
},
61+
"email": {
62+
"EmailOperator": "airflow.providers.smtp.operators.smtp.EmailOperator",
63+
},
6164
"smooth": {
6265
"SmoothOperator": "airflow.providers.standard.operators.smooth.SmoothOperator",
6366
},

0 commit comments

Comments
 (0)