import yaml


def get_yaml_info(file_path: str) -> dict:
    """Read a yaml file and return the information"""
    with open(file_path, "r") as yml_file:
        data = yaml.load(yml_file, Loader=yaml.FullLoader)
    return data