16 lines
474 B
Python
16 lines
474 B
Python
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
immich_base_url: str = "http://localhost:2283"
|
|
immich_api_key: str = ""
|
|
database_url: str = "sqlite:///./aesthetic_planner.db"
|
|
immich_album_prefix: str = "Patient"
|
|
upload_device_id: str = "aesthetic-photo-planner"
|
|
request_timeout_seconds: int = 90
|
|
|
|
model_config = SettingsConfigDict(env_file=".env", env_file_encoding="utf-8")
|
|
|
|
|
|
settings = Settings()
|