code: def _get_value(first, second):
      
  
      if isinstance(first, list) and isinstance(second, list):
          return list(set(first).union(set(second)))
      elif isinstance(first, dict) and isinstance(second, dict):
          first.update(second)
          return first
      elif first is not None and second is not None and not isinstance(first, type(second)):
          return type(first)(second)
      else:
          return second
docs: 数据转化
      :param first:
      :param second:
      :return:
      >>> _get_value(1,'2')
      2
      >>> _get_value([1,2],[2,3])
      [1, 2, 3]