diff --git a/litellm/proxy/management_endpoints/team_admin_field_permissions.py b/litellm/proxy/management_endpoints/team_admin_field_permissions.py index 9ccacf9c54f..e26dd993e26 100644 --- a/litellm/proxy/management_endpoints/team_admin_field_permissions.py +++ b/litellm/proxy/management_endpoints/team_admin_field_permissions.py @@ -3,10 +3,11 @@ from collections.abc import Mapping from dataclasses import dataclass from types import MappingProxyType -from typing import Final, Literal, TypeAlias, assert_never +from typing import Final, Literal, TypeAlias from fastapi import HTTPException from pydantic import TypeAdapter, ValidationError +from typing_extensions import assert_never from litellm._logging import verbose_proxy_logger from litellm.models.team import LiteLLM_TeamTable diff --git a/tests/test_litellm/proxy/auth/test_route_checks.py b/tests/test_litellm/proxy/auth/test_route_checks.py index db8947d4998..32da04f946d 100644 --- a/tests/test_litellm/proxy/auth/test_route_checks.py +++ b/tests/test_litellm/proxy/auth/test_route_checks.py @@ -3828,7 +3828,6 @@ def test_team_disable_logging_stays_proxy_admin_only(): "route", [ "/team/06bda574-5ca9-43d3-beb8-3b23c2f17112", - "/team/update", "/team/06bda574-5ca9-43d3-beb8-3b23c2f17112/model/add", ], )