eladkal commented on code in PR #25799:
URL: https://github.com/apache/airflow/pull/25799#discussion_r949451143
##########
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:
Yes I was wondering about:
```diff
-warnings.filterwarnings(action='default', category=DeprecationWarning,
module='airflow')
-warnings.filterwarnings(action='default',
category=PendingDeprecationWarning, module='airflow')
+warnings.filterwarnings(action='default',
category=RemoveInAirflow3DeprecationWarning, module='airflow')
```
our goal here is not to have general `DeprecationWarning` in the code base
--
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]