deep_dict_update

omni.kit.property.material.scripts.widgets.usdshade.utils.deep_dict_update(d: dict, u: dict) dict

Recursively updates a dictionary by merging a second dictionary into it.

Parameters
  • d (dict) – The dictionary to be updated.

  • u (dict) – The dictionary with values to be merged into the first dictionary.

Returns

The updated dictionary after merging.

Return type

dict