def scan(self, query_body=None, query_string_args=None,
              indexes=["_all"], doctypes=[], scroll="10m", size=50):
        if not query_string_args:
            query_string_args = {}

        query_string_args["search_type"] = "scan"
        query_string_args["scroll"] = scroll
        query_string_args["size"] = size

        result = self._search_operation('GET', query_body=query_body,
                query_string_args=query_string_args, indexes=indexes,
                doctypes=doctypes)

        return result["_scroll_id"]
Return a function wrapped with the decorator being tested that returns
dataset/ETHPy150Open eriky/ESClient/esclient.py/ESClient.scan--crossover with--dataset/ETHPy150Open itamarst/crochet/crochet/tests/test_api.py/WaitTestsMixin.make_wrapped_function