Download app/schemas/admin/system.py from binhugg2/api: direct link, hf CLI and curl.
- Browser
- Download file 216 Bytes
-
https://huggingface.co/spaces/binhugg2/api/resolve/main/app/schemas/admin/system.py
- Command line
-
hf download hf://spaces/binhugg2/api/app/schemas/admin/system.py
-
curl -L -o system.py https://huggingface.co/spaces/binhugg2/api/resolve/main/app/schemas/admin/system.py
216 Bytes
| from pydantic import BaseModel, Field | |
| class SystemConfigUpdateRequest(BaseModel): | |
| sync_cron_hour: int | None = Field(None, ge=0, le=23) | |
| access_token_expire_minutes: int | None = Field(None, ge=1, le=43200) | |