Spaces:
Runtime error
Runtime error
Download app/config.py from abdullah090809/FastAPI-Project: direct link, hf CLI and curl.
- Browser
- Download file 343 Bytes
-
https://huggingface.co/spaces/abdullah090809/FastAPI-Project/resolve/bb4b25f33972753e5ff545649133e43bf2aeb752/app/config.py
- Command line
-
hf download hf://spaces/abdullah090809/FastAPI-Project@bb4b25f33972753e5ff545649133e43bf2aeb752/app/config.py
-
curl -L -o config.py https://huggingface.co/spaces/abdullah090809/FastAPI-Project/resolve/bb4b25f33972753e5ff545649133e43bf2aeb752/app/config.py
343 Bytes
| from pydantic_settings import BaseSettings | |
| class Settings(BaseSettings): | |
| database_hostname: str | |
| database_port: str | |
| database_password: str | |
| database_name: str | |
| database_username: str | |
| secret_key: str | |
| algorithm: str | |
| access_token_expire_minutes: int | |
| class Config: | |
| env_file = ".env" | |
| setting = Settings() |