Crowiant commented on code in PR #45931:
URL: https://github.com/apache/airflow/pull/45931#discussion_r3225065256


##########
task-sdk/src/airflow/sdk/configuration.py:
##########
@@ -232,36 +252,92 @@ def initialize_secrets_backends(
 
     Uses SDK's conf instead of Core's conf.
     """
-    from airflow.sdk._shared.module_loading import import_string
-
-    backend_list = []
-    worker_mode = False
     # Determine worker mode - if default_backends is not the server default, 
it's worker mode
     # This is a simplified check; in practice, worker mode is determined by 
the caller
-    if default_backends != _SERVER_DEFAULT_SECRETS_SEARCH_PATH:
+    from airflow.sdk.configuration import conf
+

Review Comment:
   It is not needed. Other functions in this file use such import. 



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