def parse_tags(generated_tags: Optional[List["BlobTag"]]) -> Union[Dict[str, str], None]:
    """Deserialize a list of BlobTag objects into a dict.

    :param Optional[List[BlobTag]] generated_tags:
        A list containing the BlobTag objects from generated code.
    :returns: A dictionary of the BlobTag objects.
    :rtype: Dict[str, str] or None
    """
    if generated_tags:
        tag_dict = {t.key: t.value for t in generated_tags.blob_tag_set}
        return tag_dict
    return None
Deserialize a list of BlobTag objects into a dict.

    :param Optional[List[BlobTag]] generated_tags:
        A list containing the BlobTag objects from generated code.
    :returns: A dictionary of the BlobTag objects.
    :rtype: Dict[str, str] or None
    
Solutions/CyberArkAudit/Data Connectors/.python_packages/lib/site-packages/azure/storage/blob/_deserialize.py