code: def merge(dict1, dict2):
      """Return a new dictionary by merging two dictionaries recursively."""
      result = deepcopy(dict1)
  
      for key, value in dict2.items():
          if isinstance(value, collections.abc.Mapping):
              result[key] = merge(result.get(key, {}), value)
          else:
              result[key] = deepcopy(dict2[key])
  
      return result
  
file_path: wandb/wandb/integration/prodigy/prodigy.py
imports: import base64
  import collections.abc
  import io
  import urllib
  from copy import deepcopy
  import pandas
  from PIL import Image
  import wandb
  from wandb import util
  from wandb.plots.utils import test_missing
  from wandb.sdk.lib import telemetry
label_desc: Use image node_id 2 for calling a global function with example usage: merge(dict1, dict2) and returns: result