Add source
This commit is contained in:
9
web/utils/database.py
Normal file
9
web/utils/database.py
Normal file
@@ -0,0 +1,9 @@
|
||||
"""
|
||||
Database utilities for web interface (wrapper over shared module)
|
||||
Uses unified module from shared/database/session.py
|
||||
"""
|
||||
from shared.database.session import get_db
|
||||
|
||||
# Export function for use in FastAPI Depends
|
||||
__all__ = ['get_db']
|
||||
|
||||
Reference in New Issue
Block a user