refactor(auth): drop the membership fetch docstring

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
yassin 2026-09-14 19:12:35 +00:00
parent b00bb35563
commit 5bcc23014e

View file

@ -2197,7 +2197,6 @@ async def _fetch_team_membership_from_db(
parent_otel_span: Span | None = None,
proxy_logging_obj: ProxyLogging | None = None,
) -> LiteLLM_TeamMembership | None:
"""Prisma read + cache populate. Decorated so cache hits on ``get_team_membership`` are not postgres spans."""
_ = parent_otel_span, proxy_logging_obj
response: Final = await _dictable_table(TeamMembershipRepository(prisma_client)).find_unique(
where={"user_id_team_id": {"user_id": user_id, "team_id": team_id}},