fix: add explicit type annotation for call_tool decorator (#1826)
Co-authored-by: Jay Hemnani <jayhemnani9910@gmail.com> Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
This commit is contained in:
parent
201de920a0
commit
f397783c39
1 changed files with 1 additions and 1 deletions
|
|
@ -499,7 +499,7 @@ class Server(Generic[LifespanResultT, RequestT]):
|
||||||
|
|
||||||
def decorator(
|
def decorator(
|
||||||
func: Callable[
|
func: Callable[
|
||||||
...,
|
[str, dict[str, Any]],
|
||||||
Awaitable[
|
Awaitable[
|
||||||
UnstructuredContent
|
UnstructuredContent
|
||||||
| StructuredContent
|
| StructuredContent
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue