Download api/configs/packaging/__init__.py from ZHZ1024/dify: direct link, hf CLI and curl.
- Browser
- Download file 392 Bytes
-
https://huggingface.co/spaces/ZHZ1024/dify/resolve/main/api/configs/packaging/__init__.py
- Command line
-
hf download hf://spaces/ZHZ1024/dify/api/configs/packaging/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/ZHZ1024/dify/resolve/main/api/configs/packaging/__init__.py
392 Bytes
| from pydantic import Field | |
| from pydantic_settings import BaseSettings | |
| class PackagingInfo(BaseSettings): | |
| """ | |
| Packaging build information | |
| """ | |
| CURRENT_VERSION: str = Field( | |
| description="Dify version", | |
| default="0.11.0", | |
| ) | |
| COMMIT_SHA: str = Field( | |
| description="SHA-1 checksum of the git commit used to build the app", | |
| default="", | |
| ) | |