from pathlib import Path from app.schemas import Settings _PATH = Path(__file__).resolve().parent.parent / "configs.json" settings = Settings.model_validate_json(_PATH.read_text(encoding="utf-8"))