import yaml


def read_yaml(path):
    """
    Reads the yaml data from the provided path

    :param path: The path to read the data from

    :return: The loaded data
    """
    with open(path, encoding="utf8") as f:
        return yaml.load(f, yaml.SafeLoader)