mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-24 06:24:18 +02:00
Fix kwarg
This commit is contained in:
parent
d1eb1812f3
commit
5f0193b237
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ def custom_dict_serializer(data: Any) -> str:
|
|||
return yaml.dump(data, width=100, sort_keys=False)
|
||||
|
||||
|
||||
server = FastMCP(name="CustomSerializerExample", serializer=custom_dict_serializer)
|
||||
server = FastMCP(name="CustomSerializerExample", tool_serializer=custom_dict_serializer)
|
||||
|
||||
|
||||
@server.tool()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue