Skip to content

Commit d75828e

Browse files
committed
make bind params dynamic
1 parent 9c3ba38 commit d75828e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolbox-core/tests/test_e2e.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ async def test_run_tool_wrong_param_type(self, get_n_rows_tool: ToolboxTool):
9999

100100
##### Bind param tests
101101
async def test_bind_params(self, toolbox, get_n_rows_tool):
102-
new_tool = get_n_rows_tool.bind_parameters({"num_rows": "3"})
102+
new_tool = get_n_rows_tool.bind_parameters({"num_rows": lambda: "3"})
103103
response = await new_tool()
104104

105105
assert isinstance(response, str)

0 commit comments

Comments
 (0)