parameters: (self, filter_values)
return_statement: return f
docstring: Construct a filter.
docstring_summary: Construct a filter.
docstring_tokens: Construct a filter .
function: def add_filter(self, filter_values):
          """
          Construct a filter.
          """
          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
function_tokens: 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