import yaml


def load_config(config_id: str) -> dict:
    """Reads Configuration from yaml file.

    Args:
        config_id (str): specific configuration ID to use in yaml file

    Returns:
        dict: Returns dictionary of configuration parameters
    """
    with open("config.yml", "r") as f:
        doc = yaml.load(f, yaml.Loader)

    config = doc[config_id]
    return config