Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/firebolt_db/firebolt_async_dialect.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,15 @@ def _set_parameters(self) -> Dict[str, Any]:
def _set_parameters(self, value: Dict[str, Any]) -> None:
self._cursor._set_parameters = value

async def _async_soft_close(self) -> None:
"""close the cursor but keep the results pending, and memoize the
description.

We don't have ability to memorize results with async driver yet so
keeping this a no-op.

"""


class AsyncConnectionWrapper(AdaptedConnection):
await_ = staticmethod(await_only)
Expand Down