mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-12 19:39:27 +03:00
ed5de8b80c
# Description https://github.com/StanGirard/quivr/issues/1551 ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate):
6 lines
152 B
Python
6 lines
152 B
Python
from uuid import UUID
|
|
|
|
|
|
def build_secret_unique_name(user_id: UUID, brain_id: UUID, secret_name: str):
|
|
return f"{user_id}-{brain_id}-{secret_name}"
|