Spaces:
Sleeping
Sleeping
Download src/models/__init__.py from hashir-qt/keyvault-api: direct link, hf CLI and curl.
- Browser
- Download file 445 Bytes
-
https://huggingface.co/spaces/hashir-qt/keyvault-api/resolve/main/src/models/__init__.py
- Command line
-
hf download hf://spaces/hashir-qt/keyvault-api/src/models/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/hashir-qt/keyvault-api/resolve/main/src/models/__init__.py
445 Bytes
| # Models are imported here so SQLModel registers them before init_db() runs. | |
| # Add each model as it's created. | |
| from src.models.user import User, UserRole # noqa: F401 | |
| from src.models.seller_profile import SellerProfile, SellerTier, SellerStatus # noqa: F401 | |
| from src.models.product import ProductListing, ProductKey, ProductCategory, ProductStatus # noqa: F401 | |
| from src.models.order import Order, OrderItem, OrderStatus # noqa: F401 | |