Closed srak289 closed 2 years ago
I agree with permitting values to be a list. But why do we want update_record to take a tuple? It doesn't reduce the number of api calls or anything. Why not just have the caller call update_record multiple times?
Unless I'm mistaken it directly reduces the number of API calls.
Calling update_record with multiple tuples appends a dict for each record tuple, to changes(list), which is then used in the single call to change_resource_record_set where changes is used as the list of changes to make.
This would also allow A records to be updated en masse as opposed to individual API calls. Possibly using some future function like zone.update_records(collect_host_records)