This is an automated email from the ASF dual-hosted git repository.

eladkal 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 752045cc9c6 Add RemovedInAirflow4Warning (#46594)
752045cc9c6 is described below

commit 752045cc9c675b83108d1b00caa8661022a086af
Author: Elad Kalif <[email protected]>
AuthorDate: Sun Feb 9 08:53:51 2025 +0100

    Add RemovedInAirflow4Warning (#46594)
---
 airflow/exceptions.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/airflow/exceptions.py b/airflow/exceptions.py
index 89358e76bd0..79d0dac1325 100644
--- a/airflow/exceptions.py
+++ b/airflow/exceptions.py
@@ -483,6 +483,13 @@ class RemovedInAirflow3Warning(DeprecationWarning):
     "Indicates the airflow version that started raising this deprecation 
warning"
 
 
+class RemovedInAirflow4Warning(DeprecationWarning):
+    """Issued for usage of deprecated features that will be removed in 
Airflow4."""
+
+    deprecated_since: str | None = None
+    "Indicates the airflow version that started raising this deprecation 
warning"
+
+
 class AirflowProviderDeprecationWarning(DeprecationWarning):
     """Issued for usage of deprecated features of Airflow provider."""
 

Reply via email to