Skip to content

Commit ec1d48a

Browse files
committed
Add missing param to cursor constructor
1 parent 1a10688 commit ec1d48a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ydb_dbapi/connections.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ def cursor(self) -> Cursor:
171171
session_pool=self._session_pool,
172172
tx_mode=self._tx_mode,
173173
tx_context=self._tx_context,
174+
table_path_prefix=self.table_path_prefix,
174175
)
175176

176177
def wait_ready(self, timeout: int = 10) -> None:
@@ -298,6 +299,7 @@ def cursor(self) -> AsyncCursor:
298299
session_pool=self._session_pool,
299300
tx_mode=self._tx_mode,
300301
tx_context=self._tx_context,
302+
table_path_prefix=self.table_path_prefix,
301303
)
302304

303305
async def wait_ready(self, timeout: int = 10) -> None:

0 commit comments

Comments
 (0)