From a45e06eb1528027310c9d8c652e77a1342300ee2 Mon Sep 17 00:00:00 2001 From: OrangerXu Date: Wed, 14 Oct 2026 12:53:36 +0800 Subject: [PATCH] chore(lint): annotate the variation signature's mutable multipart annotation --- litellm/proxy/image_endpoints/endpoints.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm/proxy/image_endpoints/endpoints.py b/litellm/proxy/image_endpoints/endpoints.py index c95314997a5..59286b273e6 100644 --- a/litellm/proxy/image_endpoints/endpoints.py +++ b/litellm/proxy/image_endpoints/endpoints.py @@ -376,8 +376,8 @@ async def image_edit_api( async def image_variation_api( request: Request, fastapi_response: Response, - user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth), - image: list[UploadFile] | None = File(None), + user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth), # noqa: B008 # FastAPI dependency injection + image: list[UploadFile] | None = File(None), # noqa: B008 # FastAPI multipart upload declaration # mutable-ok: mirrors the edits endpoint's multipart signature model: str | None = None, ): """