import yaml from pathlib import Path def load_config(path: str) -> dict: with open(path) as f: return yaml.safe_load(f)