Spaces:
Sleeping
Sleeping
Download app/schemas/api_response.py from hisham-cmd/VortexCommerceBackend: direct link, hf CLI and curl.
- Browser
- Download file 203 Bytes
-
https://huggingface.co/spaces/hisham-cmd/VortexCommerceBackend/resolve/main/app/schemas/api_response.py
- Command line
-
hf download hf://spaces/hisham-cmd/VortexCommerceBackend/app/schemas/api_response.py
-
curl -L -o api_response.py https://huggingface.co/spaces/hisham-cmd/VortexCommerceBackend/resolve/main/app/schemas/api_response.py
203 Bytes
| from pydantic import BaseModel | |
| from typing import Any, Optional | |
| class APIResponse(BaseModel): | |
| isSuccess: bool | |
| value: Any = None | |
| error: Optional[str] = None | |
| statusCode: int = 200 | |