diff --git a/src/firebolt_db/firebolt_async_dialect.py b/src/firebolt_db/firebolt_async_dialect.py index 23946e3..e1fa5cd 100644 --- a/src/firebolt_db/firebolt_async_dialect.py +++ b/src/firebolt_db/firebolt_async_dialect.py @@ -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)