From 76f618ff502f3f3f7d6d08d17c7ff1164638d9c2 Mon Sep 17 00:00:00 2001 From: kerry Date: Fri, 13 Nov 2026 00:52:55 +0000 Subject: [PATCH] style(auth): keep the hierarchy reset within the line limit Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/proxy/auth/user_api_key_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/auth/user_api_key_auth.py b/litellm/proxy/auth/user_api_key_auth.py index b82f972e98d..3f07a9f3730 100644 --- a/litellm/proxy/auth/user_api_key_auth.py +++ b/litellm/proxy/auth/user_api_key_auth.py @@ -4467,7 +4467,7 @@ async def _authorize_authenticated_request( customer_member_id: Final = customer_member_id_from_headers( safe_get_request_headers(request) # pyright: ignore[reportUnknownArgumentType] # request headers are untyped ) - user_api_key_auth_obj.customer_hierarchy = None # rebind-ok: the hierarchy is request state, never inherited from a cached key + user_api_key_auth_obj.customer_hierarchy = None # rebind-ok: request state, never inherited from a cached key if customer_member_id is not None: with tracer.trace("litellm.proxy.auth.resolve_customer_hierarchy"): # pyright: ignore[reportUnknownMemberType] # tracer is the untyped proxy tracer user_api_key_auth_obj.customer_hierarchy = await resolve_customer_hierarchy( # rebind-ok: the gate updates the request-owned auth object in place