mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
style: apply ruff format to custom rbac endpoints
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
4589729c38
commit
625272929a
1 changed files with 1 additions and 2 deletions
|
|
@ -97,8 +97,7 @@ async def _reject_unknown_inherits(
|
|||
known: Final = (
|
||||
frozenset(role.role_name for role in get_config_custom_rbac_roles())
|
||||
| frozenset(
|
||||
str(record.dict()["role_name"])
|
||||
for record in await table.find_many(order=prisma_args(_ORDER_BY_ROLE_NAME))
|
||||
str(record.dict()["role_name"]) for record in await table.find_many(order=prisma_args(_ORDER_BY_ROLE_NAME))
|
||||
)
|
||||
| frozenset((role_name,))
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue