import yaml def load_config(path: str) -> dict: with open(path) as f: return yaml.load(f)