From 196468c69327dfaf5dc287a9d2e6582e1a3c65a8 Mon Sep 17 00:00:00 2001 From: ryan-crabbe-berri Date: Fri, 28 Aug 2026 13:36:52 -0700 Subject: [PATCH] fix(management-v1): suppress the tags tuple type error on the user PATCH route FastAPI annotates tags as a list, so the tuple the route passes is a reportArgumentType error even though any sequence works. Suppressed rather than switched to a list literal, which LIT002 rejects. --- litellm/proxy/management_endpoints/management_v1/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/management_endpoints/management_v1/users.py b/litellm/proxy/management_endpoints/management_v1/users.py index 3fecabed55a..86df612d006 100644 --- a/litellm/proxy/management_endpoints/management_v1/users.py +++ b/litellm/proxy/management_endpoints/management_v1/users.py @@ -210,7 +210,7 @@ def _problem_from_http_exception(exc: HTTPException) -> ManagementProblem: @router.patch( "/users/{user_id}", - tags=("Internal User management",), + tags=("Internal User management",), # pyright: ignore[reportArgumentType] # annotated list, takes a sequence dependencies=(Depends(user_api_key_auth),), response_model=ItemResponse[UserItem], responses=problem_responses(403, 404, 422, 500, 503),