TypeError: 'Connection' object does not support the context manager protocol
async def get_all_users():
with aiosqlite.connect('database.db') as db:
cursor = await db.cursor()
await cursor.execute(f"SELECT user_id FROM users")
row = await cursor.fetchall()
return row
print(f"--------- Users: {len(await get_all_users())} --------\n")