def evaluate(self, query: MutableMapping[str, Any], context: PipelineContext = None) -> True:
# This always returns true because it'll raise a QueryValidationError if the query wasn't
# valid. We also don't want normal AND behavior at this level so we just evaluate the
# children and return True
for child in self.children:
child.evaluate(query, context)
return True
评论列表
文章目录