Spaces:
Sleeping
Sleeping
Download dify_client_python/build/lib/dify_client/models/file.py from Underground-Digital/cc-api: direct link, hf CLI and curl.
- Browser
- Download file 285 Bytes
-
https://huggingface.co/spaces/Underground-Digital/cc-api/resolve/main/dify_client_python/build/lib/dify_client/models/file.py
- Command line
-
hf download hf://spaces/Underground-Digital/cc-api/dify_client_python/build/lib/dify_client/models/file.py
-
curl -L -o file.py https://huggingface.co/spaces/Underground-Digital/cc-api/resolve/main/dify_client_python/build/lib/dify_client/models/file.py
285 Bytes
| from pydantic import BaseModel | |
| class UploadFileRequest(BaseModel): | |
| user: str | |
| class UploadFileResponse(BaseModel): | |
| id: str | |
| name: str | |
| size: int | |
| extension: str | |
| mime_type: str | |
| created_by: str # created by user | |
| created_at: int # unix timestamp seconds | |