Spaces:
Sleeping
Sleeping
Download build/lib/core/config.py from hashir-qt/tasklert-api: direct link, hf CLI and curl.
- Browser
- Download file 526 Bytes
-
https://huggingface.co/spaces/hashir-qt/tasklert-api/resolve/main/build/lib/core/config.py
- Command line
-
hf download hf://spaces/hashir-qt/tasklert-api/build/lib/core/config.py
-
curl -L -o config.py https://huggingface.co/spaces/hashir-qt/tasklert-api/resolve/main/build/lib/core/config.py
526 Bytes
| from pydantic_settings import BaseSettings, SettingsConfigDict | |
| class Settings(BaseSettings): | |
| model_config = SettingsConfigDict( | |
| env_file=".env", | |
| env_file_encoding="utf-8", | |
| ) | |
| database_url: str = "sqlite+aiosqlite:///./todo.db" | |
| secret_key: str = "change-this-in-production" | |
| algorithm: str = "HS256" | |
| access_token_expire_minutes: int = 30 | |
| app_name: str = "Phase II Full-Stack Todo App" | |
| debug: bool = False | |
| frontend_url: str = "http://localhost:3000" | |
| settings = Settings() | |