feat: add database session dependency for FastAPI routes
- Introduced a new dependency in `middleware/dependencies.py` to provide an asynchronous database session using SQLModel. - This dependency can be utilized in route functions to facilitate database operations.
This commit is contained in:
@@ -8,7 +8,7 @@ dependencies = [
|
||||
"aiohttp>=3.13.2",
|
||||
"aiosqlite>=0.21.0",
|
||||
"argon2-cffi>=25.1.0",
|
||||
"fastapi>=0.122.0",
|
||||
"fastapi[standard]>=0.122.0",
|
||||
"loguru>=0.7.3",
|
||||
"pyjwt>=2.10.1",
|
||||
"python-dotenv>=1.2.1",
|
||||
|
||||
Reference in New Issue
Block a user