mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-14 09:03:16 +00:00
style(auth): keep the hierarchy reset within the line limit
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
f4a7886c92
commit
76f618ff50
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue