Update dictionaries by update rule map
Created by: avico78
In case there's a need to update many keys , I need to run the nested_update as number of keys required to update. not efficient as it be done in single search .
So it could really nice update if update nested_update function will support multiple updates in single batch . in example by dictionary which contain update rules .
update_rules = {"name": fake.first_name() ,"last_name": fake.last_name, "id": random(100)} )
result = nested_update(my_document, multiple_update_by = update_rules )