def _execute(self, ifile, process):
        self._record_writer.write_records(process(self._records(ifile)))
        self.finish()
Default processing loop
dataset/ETHPy150Open splunk/splunk-sdk-python/splunklib/searchcommands/search_command.py/SearchCommand._execute