code: def add_filter(self, filter_values):
          
          if not filter_values:
              return
  
          f = self.get_value_filter(filter_values[0])
          for v in filter_values[1:]:
              f |= self.get_value_filter(v)
          return f
docs: Construct a filter.