import yaml


def from_yml(yml_string: str) -> dict:
    """Load the given YAML string into a dict

    :param yml_string: YAML string to work on
    :type yml_string: str
    :return: dict representation of the given YAML string
    :rtype: dict
    """
    config: dict = yaml.safe_load(yml_string)
    return config