Skip to content

Commit

Permalink
[SDK] relax response typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw committed Dec 16, 2024
1 parent d9b7aaa commit 006305f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion libs/sdk-py/langgraph_sdk/auth/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,15 @@ def identity(self) -> str:


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.
Expand Down

0 comments on commit 006305f

Please sign in to comment.