Spaces:
Sleeping
Sleeping
Download core/database.py from Quratulain1/backend-chatbot: direct link, hf CLI and curl.
- Browser
- Download file 222 Bytes
-
https://huggingface.co/spaces/Quratulain1/backend-chatbot/resolve/main/core/database.py
- Command line
-
hf download hf://spaces/Quratulain1/backend-chatbot/core/database.py
-
curl -L -o database.py https://huggingface.co/spaces/Quratulain1/backend-chatbot/resolve/main/core/database.py
222 Bytes
| """ | |
| Database session management for chat endpoints. | |
| Provides async database sessions with proper lifecycle management. | |
| """ | |
| from core.db import get_session | |
| # Re-export get_session for convenience | |
| __all__ = ['get_session'] | |