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.
This commit is contained in:
ryan-crabbe-berri 2026-08-28 13:36:52 -07:00
parent 423563ed9c
commit 196468c693

View file

@ -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),