Download src/models/api/document.py from DataEyond/Agentic-Service-Data-Eyond-Catalog: direct link, hf CLI and curl.
- Browser
- Download file 240 Bytes
-
https://huggingface.co/spaces/DataEyond/Agentic-Service-Data-Eyond-Catalog/resolve/ae50194de0d72e5b8f551bb4325bec31bfa803be/src/models/api/document.py
- Command line
-
hf download hf://spaces/DataEyond/Agentic-Service-Data-Eyond-Catalog@ae50194de0d72e5b8f551bb4325bec31bfa803be/src/models/api/document.py
-
curl -L -o document.py https://huggingface.co/spaces/DataEyond/Agentic-Service-Data-Eyond-Catalog/resolve/ae50194de0d72e5b8f551bb4325bec31bfa803be/src/models/api/document.py
240 Bytes
| """Request / response models for /api/v1/documents/* routes.""" | |
| from pydantic import BaseModel | |
| class DocumentUploadResponse(BaseModel): | |
| document_id: str | |
| filename: str | |
| status: str # uploaded | processing | completed | failed | |