Skip to content

Commit 5aaf20a

Browse files
committed
nit
1 parent 9e1da13 commit 5aaf20a

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
@@ -40,7 +40,7 @@ def __init__(
4040
url: str,
4141
):
4242
"""
43-
Initializes the ToolboxClient.
43+
Initializes the ToolboxSyncClient.
4444
4545
Args:
4646
url: The base URL for the Toolbox service API (e.g., "http://localhost:5000").
@@ -59,7 +59,7 @@ async def create_client():
5959

6060
# Ignoring type since we're already checking the existing of a loop above.
6161
self.__async_client = asyncio.run_coroutine_threadsafe(
62-
create_client(), ToolboxSyncClient.__loop # type: ignore
62+
create_client(), self.__class__.__loop # type: ignore
6363
).result()
6464

6565
def close(self):

0 commit comments

Comments
 (0)