Skip to content

Commit 0ff54a3

Browse files
committed
Revert "Fix async cursor close method"
This reverts commit d68433e.
1 parent d68433e commit 0ff54a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb_sqlalchemy/sqlalchemy/dbapi_adapter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def executemany(self, sql, parameters=None):
105105
return await_only(self._cursor.executemany(sql, parameters))
106106

107107
def close(self):
108-
return self._cursor.close()
108+
return await_only(self._cursor.close())
109109

110110
def setinputsizes(self, *args):
111111
pass

0 commit comments

Comments
 (0)