from typing import Dict
from typing import Any
import yaml


def load_config(path: str) -> Dict[str, Any]:
    """
    Loads the bin configuration from yaml file

    :param path: Path to config file

    :return: The configuration
    """
    with open(path) as file:
        return yaml.load(file, Loader=yaml.FullLoader)