Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion aiosqlite/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ def connect(
*,
iter_chunk_size=64,
loop: Optional[asyncio.AbstractEventLoop] = None,
cls: Type[Connection] = Connection,
**kwargs: Any
) -> Connection:
"""Create and return a connection proxy to the sqlite database."""
Expand All @@ -396,4 +397,4 @@ def connector() -> sqlite3.Connection:

return sqlite3.connect(loc, **kwargs)

return Connection(connector, iter_chunk_size)
return cls(connector, iter_chunk_size)