gaps.utilities.recursively_update_dict#

recursively_update_dict(existing, new)[source]#

Update a dictionary recursively.

Parameters:
  • existing (dict) – Existing dictionary to update. Dictionary is copied before recursive update is applied.

  • new (dict) – New dictionary with data to add to existing.

Returns:

dict – Existing dictionary with data updated from new dictionary.