sailfish.driver.update_dict_where_none

sailfish.driver.update_dict_where_none(new_dict, old_dict, frozen=[])[source]

Like dict.update, except key=value pairs in old_dict are only used to add / overwrite values in new_dict if they are None or missing.