Spaces:
Configuration error
Configuration error
Download platform/api/app/models/base.py from Sakshamyadav15/SupportRAG: direct link, hf CLI and curl.
- Browser
- Download file 415 Bytes
-
https://huggingface.co/spaces/Sakshamyadav15/SupportRAG/resolve/main/platform/api/app/models/base.py
- Command line
-
hf download hf://spaces/Sakshamyadav15/SupportRAG/platform/api/app/models/base.py
-
curl -L -o base.py https://huggingface.co/spaces/Sakshamyadav15/SupportRAG/resolve/main/platform/api/app/models/base.py
415 Bytes
| """ | |
| Base Model Module | |
| Provides the declarative base class for all SQLAlchemy models. | |
| All models should inherit from Base. | |
| """ | |
| from sqlalchemy.orm import DeclarativeBase | |
| class Base(DeclarativeBase): | |
| """ | |
| Base class for all SQLAlchemy models. | |
| All model classes should inherit from this class. | |
| This enables SQLAlchemy to track all models for migrations | |
| and table creation. | |
| """ | |
| pass | |