import yaml


def read_yaml(yaml_path):
    """
    Returns a yaml object to be parsed.
    :param yaml_path: Path to yaml file
    :return: yaml object to be parsed.
    """

    with open(yaml_path, "r") as stream:
        return yaml.safe_load(stream)