We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e1da13 commit 5aaf20aCopy full SHA for 5aaf20a
packages/toolbox-core/src/toolbox_core/sync_client.py
@@ -40,7 +40,7 @@ def __init__(
40
url: str,
41
):
42
"""
43
- Initializes the ToolboxClient.
+ Initializes the ToolboxSyncClient.
44
45
Args:
46
url: The base URL for the Toolbox service API (e.g., "http://localhost:5000").
@@ -59,7 +59,7 @@ async def create_client():
59
60
# Ignoring type since we're already checking the existing of a loop above.
61
self.__async_client = asyncio.run_coroutine_threadsafe(
62
- create_client(), ToolboxSyncClient.__loop # type: ignore
+ create_client(), self.__class__.__loop # type: ignore
63
).result()
64
65
def close(self):
0 commit comments