sidpy.base.dict_utils.merge_dicts

sidpy.base.dict_utils.merge_dicts(left, right, path=None)[source]

Merges two nested dictionaries (right into left)

Parameters:
  • left (dict) – First dictionary

  • right (dict) – Second dictionary

  • path (str, internal variable. Do not assign) – Internal path to current key

Notes

https://stackoverflow.com/questions/7204805/how-to-merge-dictionaries-of-dictionaries