import json


def get_config(config_path):
    """
    Gets the config from a given path.
    :param config_path: the path to load the config from
    """
    with open(config_path) as config_file:
        config = json.load(config_file)

    return config