code: def merge(dict1, dict2):
      from pygal.config import CONFIG_ITEMS, Key
  
      _list_items = [
          item.name for item in CONFIG_ITEMS if item.type == list
      ]
      for key, val in dict2.items():
          if isinstance(val, Key):
              val = val.value
  
          if key in _list_items:
              dict1[key] = mergextend(val, dict1.get(key, ()))
          else:
              dict1[key] = val
  
imports: from __future__ import division
  import re
  from decimal import Decimal
  from math import ceil, cos, floor, log10, pi, sin
label_desc: Use image node_id 31 for calling a global function with example usage: merge(dict1, dict2) without return types