def get_mark_checkpoint(self):
        pending_files = []
        for pending_file in self.__pending_files:
            pending_files.append(pending_file.to_json())
        result = {'position': 0, 'pending_files': pending_files}

        if self.__sequence_id:
            result['sequence_id'] = self.__sequence_id
            result['sequence_number'] = self.__sequence_number_at_mark

        return result
Returns a check point representing the position of the iterator that was last marked.
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/log_processing.py/LogFileIterator.get_mark_checkpoint