Skip to content

Commit 4126774

Browse files
committed
fix pyright issue
1 parent 3f9810d commit 4126774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fastmcp/contrib/tool_transformer/example-hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async def async_main():
2929

3030
frontend_server = FastMCP("Frontend Server")
3131

32-
def pre_call_hook(
32+
async def pre_call_hook(
3333
tool_args: dict[str, Any],
3434
hook_args: dict[str, Any],
3535
) -> None:

0 commit comments

Comments
 (0)