potiuk commented on code in PR #32604:
URL: https://github.com/apache/airflow/pull/32604#discussion_r1270215447


##########
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:
   Good point. I was thinkin about some aspects of it that might be good to 
dicuss. 
   
   I will open a devlist dicussion on that as I think it might be something 
that we should at least discuss (and possibly decide) there.
   



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