potiuk commented on code in PR #33136:
URL: https://github.com/apache/airflow/pull/33136#discussion_r1285123056
##########
airflow/configuration.py:
##########
@@ -960,6 +960,14 @@ def get( # type: ignore[override,misc]
deprecated_section: str | None
deprecated_key: str | None
+ option_description = self.configuration_description.get(section,
{}).get(key, {})
+ if option_description.get("deprecated"):
+ deprecation_reason = option_description.get("deprecation_reason",
"")
Review Comment:
We already have "configuration_description" all over the places :)
--
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]