-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
I've seen this in a lot of aws documentation, and maybe you just want compatibility or something, but I'd just like to ask.
Why do we tag this way:
tags=[{'Key': 'example', 'Value': 'True'}, ...]Instead of the much more pythonic and intuitive:
tags={'example': 'True'}These could easily be supported with the following transformation:
if isinstance(tags, dict):
tags=[{'Key': str(k), 'Value': str(v)} for k, v in tags.items()]Sorry if this has been brought up before, feel free to close.