reflex-dev/reflex

TypeError: Invalid argument(s) 'pool_size','max_overflow','pool_timeout' sent to create_engine()

Closed this issue · 1 comments

Describe the bug
Attempting to use aiosqlite on reflex 0.8.10 raises an error. I have not defined these values in my code or environment, the defaults are being used.

To Reproduce

pip install reflex==0.8.10 aiosqlite greenlet
reflex init
reflex db init
REFLEX_ASYNC_DB_URL=sqlite+aiosqlite:///reflex.db python
import asyncio
import reflex as rx
async def d():
    async with rx.asession() as _:
        pass

asyncio.run(d())

Expected behavior
If i haven't defined these parameters, they should not be passed, since not all pools may recognize them.

Specifics (please complete the following information):

  • Python Version: 3.13
  • Reflex Version: 0.8.10
  • OS: macOS

issue seems to have gone away when creating a new virtualenv... 🤔