mergeTwoDicts

utils.mergeTwoDicts(x, y)[source]

Given two dicts, merge them into a new dict as a shallow copy

Assumes different keys in both dictionaries

Parameters:
  • x (dictionary) –
  • y (dictionary) –
Returns:

mergedDict

Return type:

dictionary