stephen-bracken commented on code in PR #65493:
URL: https://github.com/apache/airflow/pull/65493#discussion_r3118830041
##########
providers/hashicorp/src/airflow/providers/hashicorp/secrets/vault.py:
##########
@@ -214,7 +249,10 @@ def get_connection(self, conn_id: str, team_name: str |
None = None) -> Connecti
# problems when instantiating the backend during configuration
from airflow.models.connection import Connection
- response = self.get_response(conn_id)
+ if conf.getboolean("core", "multi_team", fallback=False):
+ response = self._get_team_or_global_secret(self.connections_path,
team_name, conn_id)
Review Comment:
sure, I'll update this
--
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]