Exemple #1
0
 def add_result_modifier(self, result_modifier):
   """Add filter to result filter pipeline."""
   check(result_modifier, ResultModifier)
   self.results_modifiers.append(result_modifier)
Exemple #2
0
 def add_query_filter(self, query_filter):
   """Add filter to query filter pipeline."""
   check(query_filter, QueryFilter)
   self.query_filters.append(query_filter)
Exemple #3
0
 def add_query_modifier(self, query_modifier):
   """Add modifier to query modifier pipeline."""
   check(query_modifier, QueryModifier)
   self.query_modifiers.append(query_modifier)
Exemple #4
0
 def add_result_modifier(self, result_modifier):
     """Add filter to result filter pipeline."""
     check(result_modifier, ResultModifier)
     self.results_modifiers.append(result_modifier)
Exemple #5
0
 def add_query_filter(self, query_filter):
     """Add filter to query filter pipeline."""
     check(query_filter, QueryFilter)
     self.query_filters.append(query_filter)
Exemple #6
0
 def add_query_modifier(self, query_modifier):
     """Add modifier to query modifier pipeline."""
     check(query_modifier, QueryModifier)
     self.query_modifiers.append(query_modifier)