sinergym.utils.common.deep_update

sinergym.utils.common.deep_update(source: Dict, updates: Dict) Dict

Recursively update a dictionary with another dictionary.

Parameters:
  • source (Dict) – The original dictionary to update.

  • updates (Dict) – The dictionary with updates.

Returns:

The updated dictionary.

Return type:

Dict