mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
Remove unnecessary getattr defense for Prisma-backed field
This commit is contained in:
parent
8d9bbc6eb2
commit
640ea9228f
1 changed files with 1 additions and 1 deletions
|
|
@ -9293,7 +9293,7 @@ async def _add_access_group_models_to_team_models(
|
|||
)
|
||||
)
|
||||
ag_model_map: Dict[str, List[str]] = {
|
||||
row.access_group_id: getattr(row, "access_model_names", []) or []
|
||||
row.access_group_id: row.access_model_names or []
|
||||
for row in access_group_rows
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue