Describe the bug
A clear and concise description of what the bug is.
Route handlers are defined as async def but all CRUD operations use synchronous Session from SQLModel/SQLAlchemy. This blocks the asyncio event loop during every database call. Make all route handlers synchronous.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Describe the bug
A clear and concise description of what the bug is.
Route handlers are defined as async def but all CRUD operations use synchronous Session from SQLModel/SQLAlchemy. This blocks the asyncio event loop during every database call. Make all route handlers synchronous.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.