Skip to content

Commit cc4c93c

Browse files
authored
fix(FIR-50880): Async close failure (#114)
1 parent 541b0fc commit cc4c93c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/firebolt_db/firebolt_async_dialect.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,15 @@ def _set_parameters(self) -> Dict[str, Any]:
109109
def _set_parameters(self, value: Dict[str, Any]) -> None:
110110
self._cursor._set_parameters = value
111111

112+
async def _async_soft_close(self) -> None:
113+
"""close the cursor but keep the results pending, and memoize the
114+
description.
115+
116+
We don't have ability to memorize results with async driver yet so
117+
keeping this a no-op.
118+
119+
"""
120+
112121

113122
class AsyncConnectionWrapper(AdaptedConnection):
114123
await_ = staticmethod(await_only)

0 commit comments

Comments
 (0)