potiuk commented on code in PR #32604:
URL: https://github.com/apache/airflow/pull/32604#discussion_r1270866893
##########
airflow/cli/commands/config_command.py:
##########
@@ -48,6 +49,14 @@ def show_config(args):
def get_value(args):
"""Get one value from configuration."""
+ # while this will make get_value quite a bit slower we must initialize
configuration
+ # for providers because we do not know what sections and options will be
available after
+ # providers are initialized. Theoretically Providers might add new
sections and options
+ # but also override defaults for existing options, so without loading all
providers we
Review Comment:
@jedcunningham -> saw your comment in slack. And yeah, agree that we shoudl
"fail hard" if somoene attemps to override a section. Changing it.
--
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]