from typing import List
from typing import Dict


def _get_tag_val(tags: List[Dict], key: str):
    """Get value of a tag of a given key"""
    for one_tag in tags:
        if one_tag['Key'] == key:
            return one_tag['Value']
    return ''