Skip to content

Commit b366932

Browse files
committed
fix driver arg
1 parent b0f10ca commit b366932

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ydb/aio/driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ def __init__(
6161
self.topic_client = topic.TopicClientAsyncIO(self, config.topic_client_settings)
6262

6363
async def stop(self, timeout=10):
64-
await self.table_client._pool.stop(timeout)
64+
await self.table_client._pool.stop(timeout=timeout)
6565
await super().stop(timeout=timeout)

ydb/driver.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,6 @@ def __init__(
283283
self.table_client = table.TableClient(self, driver_config.table_client_settings)
284284
self.topic_client = topic.TopicClient(self, driver_config.topic_client_settings)
285285

286-
def stop(self):
287-
self.table_client._pool.stop()
288-
super().stop()
286+
def stop(self, timeout=10):
287+
self.table_client._pool.stop(timeout=timeout)
288+
super().stop(timeout=timeout)

0 commit comments

Comments
 (0)