Skip to content

Commit

Permalink
Merge pull request #7 from ydb-platform/missing_param_to_cursor
Browse files Browse the repository at this point in the history
Add missing param to cursor constructor
  • Loading branch information
vgvoleg authored Nov 2, 2024
2 parents 1a10688 + ec1d48a commit ac704da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ydb_dbapi/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit ac704da

Please sign in to comment.