Helpers

sane.helpers.recursive_update(dest, source)[source]

Update mapping dest with source, recursively updating any nested mapping instance

This will update/override any value in dest with the value that is present in source. If the value in source is a mapping (dict) then the key for which this is being updated within dest is updated recursively, defaulting to an empty dict if that key does not exist yet.

Parameters:
Return type:

dict