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


##########
airflow/cli/commands/config_command.py:
##########
@@ -48,6 +52,9 @@ def show_config(args):
 
 def get_value(args):
     """Get one value from configuration."""
+    from airflow.providers_manager import ProvidersManager
+
+    ProvidersManager().initialize_providers_configuration()

Review Comment:
   Because we want to force loading configuration of providers information. 
Providers data is lazy-loaded, when needed because it is expensive operation 
(querying provider entrypoints from installed packages, lots of imports done 
etc. etc. and we load it at the very last moment  we need to do 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]

Reply via email to