File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/toolbox-core/src/toolbox_core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ def load_tool(
110
110
coro = self .__async_client .load_tool (name , auth_token_getters , bound_params )
111
111
112
112
# 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
114
114
115
115
if not self .__loop or not self .__thread :
116
116
raise ValueError ("Background loop or thread cannot be None." )
@@ -139,7 +139,7 @@ def load_toolset(
139
139
coro = self .__async_client .load_toolset (name , auth_token_getters , bound_params )
140
140
141
141
# 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
143
143
144
144
if not self .__loop or not self .__thread :
145
145
raise ValueError ("Background loop or thread cannot be None." )
You can’t perform that action at this time.
0 commit comments