attribute_list
attribute_list(attrs: dict[str, str])[key="value", ...] in insertion order, or nothing for no attributes.
>>> attribute_list({"shape": "box", "label": "<i>"}), attribute_list({})
(' [shape="box", label=<i>]', '')[key="value", ...] in insertion order, or nothing for no attributes.