code: def dict_deep_update(original: dict, *update: Mapping) -> dict:
      """Same as built-in dict.update, but deals with nesting
  
      Args:
          original (dict): Dictionary on which to apply the updates.
          update (dict): Dictionary with the updates to apply to `original`.
  
      Returns:
          dict: Updated dictionary.
      """
  
      def _dict_update(original_: dict, update_: Mapping) -> dict:
          for key, val in update_.items():
              if isinstance(val, Mapping):
                  original_[key] = _dict_update(
                      original_.get(key, {}), val
                  )
              else:
                  original_[key] = val
          return original_
  
      updated: dict = deepcopy(original)
      for up_ in update:
          updated = _dict_update(updated, up_)
      return updated
  
file_path: tslumen/tslumen/plot/interactive/base.py
imports: from typing import Optional, Any, Type
  from collections.abc import Mapping
  from abc import ABC, abstractmethod
  from copy import deepcopy
  import inspect
label_desc: Use image node_id 1 for calling a global function with example usage: dict_deep_update(original) and returns: updated, original_