prsctrl.prsctrl_interactive.merge_dicts#

merge_dicts(dict1, dict2, remove_None=True)[source]#

Recursively merge the dictionaries. Values from dict2 take precedence over dict1. If dict2 contains a key with value None, this value will be removed from dict1. :param dict1: :param dict2: :return: