Skip to content

Commit

Permalink
Fix async cursor close method
Browse files Browse the repository at this point in the history
  • Loading branch information
vgvoleg committed Feb 27, 2025
1 parent 0ff54a3 commit 96b1e2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sqlalchemy >= 1.4.0, < 3.0.0
ydb >= 3.18.8
ydb-dbapi >= 0.1.8
ydb-dbapi >= 0.1.10
2 changes: 1 addition & 1 deletion ydb_sqlalchemy/sqlalchemy/dbapi_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def executemany(self, sql, parameters=None):
return await_only(self._cursor.executemany(sql, parameters))

def close(self):
return await_only(self._cursor.close())
return self._cursor.close()

def setinputsizes(self, *args):
pass
Expand Down

0 comments on commit 96b1e2b

Please sign in to comment.