From ec1d48a1ad5fa65d8e2b5cd2ce9ef31290fb9715 Mon Sep 17 00:00:00 2001 From: Oleg Ovcharuk Date: Sat, 2 Nov 2024 11:58:22 +0300 Subject: [PATCH] Add missing param to cursor constructor --- ydb_dbapi/connections.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ydb_dbapi/connections.py b/ydb_dbapi/connections.py index faf1be4..d7748b0 100644 --- a/ydb_dbapi/connections.py +++ b/ydb_dbapi/connections.py @@ -171,6 +171,7 @@ def cursor(self) -> Cursor: session_pool=self._session_pool, tx_mode=self._tx_mode, tx_context=self._tx_context, + table_path_prefix=self.table_path_prefix, ) def wait_ready(self, timeout: int = 10) -> None: @@ -298,6 +299,7 @@ def cursor(self) -> AsyncCursor: session_pool=self._session_pool, tx_mode=self._tx_mode, tx_context=self._tx_context, + table_path_prefix=self.table_path_prefix, ) async def wait_ready(self, timeout: int = 10) -> None: