MCPcopy Create free account
hub / github.com/Dizzy-K/AutoPT / _build_paths

Function _build_paths

config/loader.py:232–237  ·  view source on GitHub ↗
(data: Mapping[str, Any])

Source from the content-addressed store, hash-verified

230
231
232def _build_paths(data: Mapping[str, Any]) -> PathsConfig:
233 return PathsConfig(
234 project_root=str(data.get("project_root", ".")),
235 benchmark_dir=str(data.get("benchmark_dir", "data/benchmarks")),
236 result_dir=str(data.get("result_dir", "data/results")),
237 )
238
239
240def load_app_config(path: str | Path | Sequence[str | Path]) -> AppConfig:

Callers 1

load_app_configFunction · 0.85

Calls 1

PathsConfigClass · 0.85

Tested by

no test coverage detected