omnilib / aiosqlite

asyncio bridge to the standard sqlite3 module
https://aiosqlite.omnilib.dev
MIT License
1.17k stars 93 forks source link

Cursor fetchall and fetchmany type annotations #224

Open sergemcdst22 opened 1 year ago

sergemcdst22 commented 1 year ago

Hello, can you please explain why cursor fetchall and fetchmany methods are annotated as returning Iterable instead of List (whitch is actually returned) -- it confuses linter when, for example, using len function or indexing