parameters: ( self, attribute, values, exclude=0 )
docstring: Set values set filter.
  		Only match records where 'attribute' value is in given 'values' set.
docstring_summary: Set values set filter.
  		Only match records where 'attribute' value is in given 'values' set.
docstring_tokens: Set values set filter . Only match records where attribute value is in given values set .
function: def SetFilter ( self, attribute, values, exclude=0 ):
  		"""
  		Set values set filter.
  		Only match records where 'attribute' value is in given 'values' set.
  		"""
  		assert(isinstance(attribute, str))
  		assert iter(values)
  
  		for value in values:
  			AssertInt32 ( value )
  
  		self._filters.append ( { 'type':SPH_FILTER_VALUES, 'attr':attribute, 'exclude':exclude, 'values':values } )
function_tokens: def SetFilter ( self , attribute , values , exclude = 0 ) : assert ( isinstance ( attribute , str ) ) assert iter ( values ) for value in values : AssertInt32 ( value ) self . _filters . append ( { 'type' : SPH_FILTER_VALUES , 'attr' : attribute , 'exclude' : exclude , 'values' : values } )