utils¶
Misc¶
- diagnnose.utils.misc.merge_dicts(d1: Dict, d2: Dict) Dict [source]¶
Update two dicts of dicts recursively, if either mapping has leaves that are non-dicts, the second’s leaf overwrites the first’s. Taken from: https://stackoverflow.com/a/24088493/3511979