π The fast, Pythonic way to build MCP servers and clients.
Fix static typing
Jeremiah Lowin7e983ce5b7e5
diff --git a/tests/tools/test_tool_transform.py b/tests/tools/test_tool_transform.pyindex 23b446f68..e0460d9b6 100644--- a/tests/tools/test_tool_transform.py+++ b/tests/tools/test_tool_transform.py@@ -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"]