From b0138d87c4585b40685cd1c04e9a77ed9d0d6be6 Mon Sep 17 00:00:00 2001 From: yuneng Date: Thu, 24 Sep 2026 08:21:14 +0000 Subject: [PATCH] refactor(db): throwaway negative control, team table back on .db Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/repositories/team_repository.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm/repositories/team_repository.py b/litellm/repositories/team_repository.py index 9a6d0b2203a..cbe263699c9 100644 --- a/litellm/repositories/team_repository.py +++ b/litellm/repositories/team_repository.py @@ -68,7 +68,7 @@ class _PrismaTeamDb(_TeamTables, Protocol): class _PrismaClientView(Protocol): @property - def replica_db(self) -> _PrismaTeamDb: ... + def db(self) -> _PrismaTeamDb: ... _MEMBERS_WITH_ROLES_ADAPTER: Final = TypeAdapter(list[Member]) @@ -88,7 +88,7 @@ class TeamRepository(BaseRepository[LiteLLM_TeamTable]): @property def _db(self) -> _PrismaTeamDb: client: Final[_PrismaClientView] = self.prisma_client - return client.replica_db + return client.db @property def table(self) -> TableActions["prisma_models.LiteLLM_TeamTable"]: