Fix static typing

This commit is contained in:
Jeremiah Lowin 2025-07-07 10:22:48 -04:00
commit 7e983ce5b7

View file

@ -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"]