Add & use tag_set_to_dict (#2700)

This commit is contained in:
Asher Foa
2025-06-12 21:41:48 -04:00
committed by GitHub
parent 5ce86034cd
commit 47cf755d9c
2 changed files with 7 additions and 2 deletions

View File

@@ -338,4 +338,9 @@ class S3Uri:
return self._parsed.geturl()
def tag_set_to_dict(tag_set: list[dict[str, str]]) -> dict[str, str]:
"""Convert a list of tags to a dictionary."""
return {tag["Key"]: tag["Value"] for tag in tag_set}
aws_client = AsyncAWSClient()