from pathlib import Path from pydantic import BaseSettings class ServerSettings(BaseSettings): grid_rows: int = 4 grid_cols: int = 4 cell_margin_px: int = 4 storage_dir: Path = Path("data/screenshots") default_timeout: int = 10 class Config: env_prefix = "CLICKTHROUGH_" env_file = ".env"