Skip to content

Commit 351dd11

Browse files
committed
lint
1 parent 0e370f3 commit 351dd11

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ async def __start_session() -> None:
6464

6565
coro = __start_session()
6666

67-
asyncio.run_coroutine_threadsafe(__start_session(), ToolboxSyncClient.__loop).result()
67+
asyncio.run_coroutine_threadsafe(
68+
__start_session(), ToolboxSyncClient.__loop
69+
).result()
6870

6971
if not ToolboxSyncClient.__session:
7072
raise ValueError("Session cannot be None.")
@@ -158,9 +160,7 @@ def load_toolset(
158160
"""
159161

160162
async_tools = self.__run_as_sync(
161-
self.__async_client.load_toolset(
162-
name, auth_token_getters, bound_params
163-
)
163+
self.__async_client.load_toolset(name, auth_token_getters, bound_params)
164164
)
165165

166166
if not self.__loop or not self.__thread:
@@ -170,7 +170,6 @@ def load_toolset(
170170
tools.append(ToolboxSyncTool(async_tool, self.__loop, self.__thread))
171171
return tools
172172

173-
174173
def __enter__(self):
175174
"""Enter the runtime context related to this client instance."""
176175
return self

0 commit comments

Comments
 (0)