ashb commented on code in PR #25799:
URL: https://github.com/apache/airflow/pull/25799#discussion_r950085661
##########
airflow/exceptions.py:
##########
@@ -338,3 +338,17 @@ class TaskDeferralError(AirflowException):
class PodReconciliationError(AirflowException):
"""Raised when an error is encountered while trying to merge pod
configs."""
+
+
+class RemoveInAirflow3DeprecationWarning(DeprecationWarning):
Review Comment:
https://docs.python.org/3/library/warnings.html
DeprecationWarning | Base category for warnings about deprecated features
when those warnings are intended for other Python developers (ignored by
default, unless triggered by code in __main__).
-- | --
FutureWarning | Base category for warnings about deprecated features when
those warnings are intended for end users of applications that are written in
Python.
-- | --
PendingDeprecationWarning | Base category for warnings about features that
will be deprecated in the future (ignored by default).
Should we make this baseclass be FutureWarning?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]