Fix backend bugs: password hash column rename, dynamic import, AuditLog response_model, websocket reference, missing exports, bcrypt version pin
This commit is contained in:
@@ -29,6 +29,9 @@ class Base(DeclarativeBase):
|
||||
pass
|
||||
|
||||
|
||||
__all__ = ["Base", "get_db", "async_session", "engine"]
|
||||
|
||||
|
||||
async def get_db() -> AsyncSession:
|
||||
"""FastAPI dependency that provides a database session."""
|
||||
async with async_session() as session:
|
||||
|
||||
Reference in New Issue
Block a user