omnilib/aiosqlite

Connection's cursor method should have factory

Andrew-Chen-Wang opened this issue · 0 comments

Description

sqlite3's Connection object includes a factory kwarg while aiosqlite doesn't.

aiosqlite/aiosqlite/core.py

Lines 155 to 158 in cd1861c

@contextmanager
async def cursor(self) -> Cursor:
"""Create an aiosqlite cursor wrapping a sqlite3 cursor object."""
return Cursor(self, await self._execute(self._conn.cursor))

Details

  • OS:
  • Python version: 3.9
  • aiosqlite version:
  • Can you repro on 'main' branch? Yes
  • Can you repro in a clean virtualenv? Yes