uranusjr commented on code in PR #25799:
URL: https://github.com/apache/airflow/pull/25799#discussion_r949448209


##########
airflow/configuration.py:
##########
@@ -50,7 +50,7 @@
 # show Airflow's deprecation warnings
 if not sys.warnoptions:
     warnings.filterwarnings(action='default', category=DeprecationWarning, 
module='airflow')
-    warnings.filterwarnings(action='default', 
category=PendingDeprecationWarning, module='airflow')
+    warnings.filterwarnings(action='default', 
category=RemoveInAirflow3DeprecationWarning, module='airflow')

Review Comment:
   I’d probably just keep this as-is. Also note that adding 
`RemoveInAirflow3DeprecationWarning` here does not actually do anything, since 
it is a subclass of `DeprecationWarning` and already enabled by line 52.



-- 
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]

Reply via email to