On Sqlalchemy v2.0.44 I am running into the following error:
if is_cursor and cursor_result.cursor is not None:
> await cursor_result.cursor._async_soft_close()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E AttributeError: 'AsyncAdapt_asynch_cursor' object has no attribute '_async_soft_close'
This is caused by this commit in sqlalchemy: sqlalchemy/sqlalchemy@2e9902a
A fix could be to either add an empty method _async_soft_close() to AsyncAdapt_asynch_cursor; or to make it inherit from AsyncAdapt_dbapi_cursor and set _awaitable_cursor_close: bool = False.
On Sqlalchemy v2.0.44 I am running into the following error:
This is caused by this commit in sqlalchemy: sqlalchemy/sqlalchemy@2e9902a
A fix could be to either add an empty method
_async_soft_close()toAsyncAdapt_asynch_cursor; or to make it inherit fromAsyncAdapt_dbapi_cursorand set_awaitable_cursor_close: bool = False.