System Config Merger

Easy
#dicts #systems

Input: `d1`, `d2` (dicts). Return: Merged dictionary (`d2` overwrites `d1`). Used for loading settings.

Example

Input: {'a': 1}, {'b': 2}
Output: {'a': 1, 'b': 2}
Need a hint?
  • Use .update() method (d1.update(d2))
Run your code to see output