Spaces:
Sleeping
Sleeping
Download src/db/__init__.py from ALI7ADEL/study-notes-api: direct link, hf CLI and curl.
- Browser
- Download file 296 Bytes
-
https://huggingface.co/spaces/ALI7ADEL/study-notes-api/resolve/main/src/db/__init__.py
- Command line
-
hf download hf://spaces/ALI7ADEL/study-notes-api/src/db/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/ALI7ADEL/study-notes-api/resolve/main/src/db/__init__.py
296 Bytes
| """ | |
| Database module for YouTube Study Notes AI. | |
| Provides ORM models and database connection management. | |
| """ | |
| from .models import User, Note | |
| from .database import create_db_and_tables, get_session | |
| __all__ = [ | |
| "User", | |
| "Note", | |
| "create_db_and_tables", | |
| "get_session", | |
| ] | |