mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-11 20:27:54 +02:00
[SDK] relax response typehint
This commit is contained in:
@@ -169,7 +169,15 @@ class BaseUser(typing.Protocol):
|
||||
|
||||
|
||||
Authenticator = Callable[
|
||||
..., Awaitable[tuple[list[str], typing.Union[MinimalUser, str, MinimalUserDict]]]
|
||||
...,
|
||||
Awaitable[
|
||||
tuple[
|
||||
list[str],
|
||||
typing.Union[
|
||||
MinimalUser, str, MinimalUserDict, typing.Mapping[str, typing.Any]
|
||||
],
|
||||
]
|
||||
],
|
||||
]
|
||||
"""Type for authentication functions.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user