mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-23 05:54:19 +02:00
Fix static typing
This commit is contained in:
parent
8cdce8d848
commit
7e983ce5b7
1 changed files with 2 additions and 3 deletions
|
|
@ -383,6 +383,7 @@ async def test_forward_raw_outside_context_raises_error():
|
|||
):
|
||||
await forward_raw(new_x=1, old_y=2)
|
||||
|
||||
|
||||
def test_transform_args_with_parent_defaults():
|
||||
"""Test that transform_args with parent defaults works."""
|
||||
|
||||
|
|
@ -394,9 +395,7 @@ def test_transform_args_with_parent_defaults():
|
|||
|
||||
tool = Tool.from_function(parent_tool)
|
||||
|
||||
new_tool = Tool.from_tool(
|
||||
tool
|
||||
)
|
||||
new_tool = Tool.from_tool(tool)
|
||||
|
||||
assert new_tool.parameters["$defs"] == tool.parameters["$defs"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue