Skip to content

Commit 0e37d2b

Browse files
committed
chore: Delint
1 parent 25c007e commit 0e37d2b

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

packages/toolbox-langchain/src/toolbox_langchain/tools.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ def add_auth_token_getters(
7979
ValueError: If any of the provided auth parameters is already
8080
registered.
8181
"""
82-
new_core_tool = self.__core_tool.add_auth_token_getters(
83-
auth_token_getters
84-
)
82+
new_core_tool = self.__core_tool.add_auth_token_getters(auth_token_getters)
8583
return ToolboxTool(core_tool=new_core_tool)
8684

8785
def add_auth_token_getter(

packages/toolbox-langchain/tests/test_tools.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,7 @@ def test_toolbox_tool_bind_param(self, toolbox_tool, mock_core_tool):
140140
mock_core_tool.bind_params.return_value = mock_core_tool
141141
new_langchain_tool = toolbox_tool.bind_param("param1", "bound-value")
142142
# *** Fix: Assert that bind_params is called on the core tool ***
143-
mock_core_tool.bind_params.assert_called_once_with(
144-
{"param1": "bound-value"}
145-
)
143+
mock_core_tool.bind_params.assert_called_once_with({"param1": "bound-value"})
146144
assert isinstance(new_langchain_tool, ToolboxTool)
147145
assert (
148146
new_langchain_tool._ToolboxTool__core_tool

0 commit comments

Comments
 (0)