def finish(self):
        self._record_writer.flush(finished=True)
Flushes the output buffer and signals that this command has finished processing data.
dataset/ETHPy150Open splunk/splunk-sdk-python/splunklib/searchcommands/search_command.py/SearchCommand.finish