from typing import List
from typing import Dict


def _tags_as_dict(tags: List[Dict]) -> Dict[str, str]:
    """
    Convert a list of tags to a dictionary
    :param tags: the list of tags
    :return: the dictionary of tags
    """
    return {tag["Key"]: tag.get("Value", "") for tag in tags}