From 5cd9033945c90e54fde9ab21e86cde4024c35d6b Mon Sep 17 00:00:00 2001 From: yassin Date: Fri, 4 Sep 2026 02:02:03 +0000 Subject: [PATCH] fix(sso): annotate the retention check type alias Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/proxy/management_endpoints/ui_sso.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litellm/proxy/management_endpoints/ui_sso.py b/litellm/proxy/management_endpoints/ui_sso.py index 385a8a362bb..3e6434a5afd 100644 --- a/litellm/proxy/management_endpoints/ui_sso.py +++ b/litellm/proxy/management_endpoints/ui_sso.py @@ -29,6 +29,7 @@ from typing import ( NoReturn, Optional, Protocol, + TypeAlias, Union, cast, overload, @@ -1681,7 +1682,7 @@ async def get_generic_sso_response( return result or {}, received_response, access_token_payload, sso_assertion -RetentionCheck = Callable[[], Awaitable[bool]] +RetentionCheck: TypeAlias = Callable[[], Awaitable[bool]] # mutable-ok: Callable parameter syntax async def warn_if_id_jag_assertion_uncaptured(