fix(sso): annotate the retention check type alias
Some checks failed
LiteLLM Rust / rustfmt, clippy, test (push) Has been cancelled
LiteLLM Rust / release wheel (push) Has been cancelled
Terraform Modules / fmt, validate, test (aws) (push) Has been cancelled
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
yassin 2026-09-04 02:02:03 +00:00
parent 9db85f553d
commit 5cd9033945

View file

@ -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(