def values_list(self, *fields, **kwargs): if kwargs.pop('scroll', False): hits = self.scroll() else: hits = self.run().hits return values_list(hits, *fields, **kwargs)
def values_list(self, *fields, **kwargs): return values_list(self.run().hits, *fields, **kwargs)