arbor_imago.utils package
Module contents
- arbor_imago.utils.deep_merge_dicts(primary_dict: dict, secondary_dict: dict) dict [source]
Recursive dict merge. Inspired by :meth:
dict.update()
, instead of updating only top-level keys, dict_merge recurses down into dicts nested to an arbitrary depth, updating keys. Thesecondary_dict
is merged intoprimary_dict
. :param primary_dict: dict onto which the merge is executed :param secondary_dict: primary_dict merged into primary_dict :return: None