vincbeck commented on code in PR #65695:
URL: https://github.com/apache/airflow/pull/65695#discussion_r3133075717


##########
providers/yandex/src/airflow/providers/yandex/secrets/lockbox.py:
##########
@@ -243,12 +250,20 @@ def _build_secret_name(self, prefix: str, key: str):
             return key
         return f"{prefix}{self.sep}{key}"
 
-    def _get_secret_value(self, prefix: str, key: str) -> str | None:
+    @staticmethod
+    def _is_team_specific_accessed_as_global(secret_id: str, team_name: str | 
None = None) -> bool:
+        return team_name is None and bool(re.fullmatch(r"_[^_]+___.+", 
secret_id))

Review Comment:
   Here the separator is slash `/` not `__`?



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