This is an automated email from the ASF dual-hosted git repository.
amoghdesai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 96ebf2909f1 Add backcompat shim and deprecation warning for
EmailOperator (#51004)
96ebf2909f1 is described below
commit 96ebf2909f15c0bf45476c055c23d5e02ff162be
Author: Amogh Desai <[email protected]>
AuthorDate: Fri May 23 21:00:31 2025 +0530
Add backcompat shim and deprecation warning for EmailOperator (#51004)
---
airflow-core/src/airflow/operators/__init__.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/airflow-core/src/airflow/operators/__init__.py
b/airflow-core/src/airflow/operators/__init__.py
index 5e0b62cc344..70d2da8f06b 100644
--- a/airflow-core/src/airflow/operators/__init__.py
+++ b/airflow-core/src/airflow/operators/__init__.py
@@ -58,6 +58,9 @@ __deprecated_classes = {
"empty": {
"EmptyOperator":
"airflow.providers.standard.operators.empty.EmptyOperator",
},
+ "email": {
+ "EmailOperator": "airflow.providers.smtp.operators.smtp.EmailOperator",
+ },
"smooth": {
"SmoothOperator":
"airflow.providers.standard.operators.smooth.SmoothOperator",
},