From 11493298f21c0ff0d66c99133e2c3df59622db0d Mon Sep 17 00:00:00 2001 From: Praising Harris Ratnam Date: Mon, 19 Oct 2026 01:54:14 +0530 Subject: [PATCH] fix(image_endpoints): add noqa DTZ005 for start_time naive datetime logging --- litellm/proxy/image_endpoints/endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/image_endpoints/endpoints.py b/litellm/proxy/image_endpoints/endpoints.py index c26ee8bcacf..dcbc2222d1c 100644 --- a/litellm/proxy/image_endpoints/endpoints.py +++ b/litellm/proxy/image_endpoints/endpoints.py @@ -103,7 +103,7 @@ async def image_generation( version, ) - start_time: Final = datetime.now() + start_time: Final = datetime.now() # noqa: DTZ005 # proxy standard naive datetime for request duration logging litellm_call_id: Final = resolve_litellm_call_id(request.headers.get("x-litellm-call-id")) data = {"litellm_call_id": litellm_call_id} try: