Skip to content

Commit 9bab4c0

Browse files
committed
lint
1 parent cacec35 commit 9bab4c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/toolbox-core/src/toolbox_core/sync_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def load_tool(
110110
coro = self.__async_client.load_tool(name, auth_token_getters, bound_params)
111111

112112
# We have already created a new loop in the init method in case it does not already exist
113-
async_tool = asyncio.run_coroutine_threadsafe(coro, self.__loop).result() # type: ignore
113+
async_tool = asyncio.run_coroutine_threadsafe(coro, self.__loop).result() # type: ignore
114114

115115
if not self.__loop or not self.__thread:
116116
raise ValueError("Background loop or thread cannot be None.")
@@ -139,7 +139,7 @@ def load_toolset(
139139
coro = self.__async_client.load_toolset(name, auth_token_getters, bound_params)
140140

141141
# We have already created a new loop in the init method in case it does not already exist
142-
async_tools = asyncio.run_coroutine_threadsafe(coro, self.__loop).result() # type: ignore
142+
async_tools = asyncio.run_coroutine_threadsafe(coro, self.__loop).result() # type: ignore
143143

144144
if not self.__loop or not self.__thread:
145145
raise ValueError("Background loop or thread cannot be None.")

0 commit comments

Comments
 (0)