This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-0-test by this push:
new 90d76f49566 [v3-0-test] Add backcompat shim and deprecation warning
for EmailOperator (#51004) (#51008)
90d76f49566 is described below
commit 90d76f49566916c9d9cb3acb4e49a0fe5473e3de
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Jun 2 11:09:35 2025 +0200
[v3-0-test] Add backcompat shim and deprecation warning for EmailOperator
(#51004) (#51008)
(cherry picked from commit 96ebf2909f15c0bf45476c055c23d5e02ff162be)
Co-authored-by: Amogh Desai <[email protected]>
---
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",
},