Skip to content

Commit 96b1e2b

Browse files
committed
Fix async cursor close method
1 parent 0ff54a3 commit 96b1e2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
sqlalchemy >= 1.4.0, < 3.0.0
22
ydb >= 3.18.8
3-
ydb-dbapi >= 0.1.8
3+
ydb-dbapi >= 0.1.10

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 await_only(self._cursor.close())
108+
return self._cursor.close()
109109

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

0 commit comments

Comments
 (0)