code: def merge_dicts(*dicts):
      
      def _merge_dicts(dict1, dict2):
          merged = dict1.copy()
          merged.update(dict2)
          return merged
  
      return reduce(_merge_dicts, dicts)
docs: Helpful function to merge / combine dictionaries and return a new
      dictionary.
  
      Args:
          dicts (list or Iterable): iterable set of dictionaries for merging.
  
      Returns:
          dict: dict with all keys from the passed list. Later dictionaries in
          the sequence will override duplicate keys from previous dictionaries.
  
      Example:
          >>> from searchtweets.utils import merge_dicts
          >>> d1 = {"rule": "something has:geo"}
          >>> d2 = {"maxResults": 1000}
          >>> merge_dicts(*[d1, d2])
          {"maxResults": 1000, "rule": "something has:geo"}