code: def create_key_filter(properties: Dict[str, list]) -> List[Tuple]:
      
  
      combinations = (product([k], v) for k, v in properties.items())
  
      return chain.from_iterable(combinations)
docs: Generate combinations of key, value pairs for each key in properties.
  
      Examples
      --------
      properties = {'ent': ['geo_rev', 'supply_chain'], 'own', 'fi'}
      >> create_key_filter(properties)
        --> [('ent', 'geo_rev'), ('ent', 'supply_chain'), ('own', 'fi')]