INNER CODE UNIT · Python
_load_config
qodex-ai/apimesh · config.py:22
def _load_config(self, config_path):
"""Loads configuration from a YAML file."""
with open(config_path, "r", encoding="utf-8") as file:
config = yaml.safe_load(file)
return config if config is not None else {}