chore: format

This commit is contained in:
Timothy Jaeryang Baek committed 2026-02-13 15:00:39 -06:00
1 parent 79ecbfc757
commit 626d236d13
10 files changed
+81 -35

No files matched your search

+4 -1
View File
@@ -568,7 +568,10 @@ async def update_tool_access_by_id(
form_data.access_grants = [
grant
for grant in form_data.access_grants
if not (grant.get("principal_type") == "user" and grant.get("principal_id") == "*")
if not (
grant.get("principal_type") == "user"
and grant.get("principal_id") == "*"
)
]
AccessGrants.set_access_grants("tool", id, form_data.access_grants, db=db)