uranusjr commented on code in PR #24679:
URL: https://github.com/apache/airflow/pull/24679#discussion_r944165255


##########
airflow/cli/commands/connection_command.py:
##########
@@ -36,6 +37,9 @@
 from airflow.utils import cli as cli_utils, yaml
 from airflow.utils.cli import suppress_logs_and_warning
 from airflow.utils.session import create_session
+from airflow.utils.warnings import warn_list_secrets_alternative_backend
+
+CUSTOM_BACKEND: bool = True if get_custom_secret_backend() else False

Review Comment:
   ```suggestion
   CUSTOM_BACKEND = bool(get_custom_secret_backend())
   ```



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