from typing import Dict
import yaml


def read_yaml(path: str) -> Dict:
    """Reads YAML

    Args:
        path: path to yaml with file_name.y(a)ml

    Returns:
        parsed yaml as dict
    """
    with open(path, 'r') as stream:
        file = yaml.safe_load(stream)
    return file