rdata is a dict with only one item possible
usr_state_data_handlers.py:93:
new_rr_out_rdata = {
rr_type: new_rr_out_rdata_values
}
This is, in fact, a good sign that rdata-content
should not be a choice
between container
s. Current approach provokes a WTFy handling code:
for rr in zone["rrset"]:
for entry in rr["rdata"]:
if [*entry.keys()][0] == "A": # must be the only item in the dict
...
for rr in zone["rrset"]:
for entry in rr["rdata"]:
for item in entry.keys():
...
break # have no idea what to do w/ a second item if there's any