def harvest_simple_dags(self):
<EOL>self._sync_metadata()<EOL>self._heartbeat_manager()<EOL>simple_dags = []<EOL>if sys.platform == "<STR_LIT>":<EOL><INDENT>qsize = self._result_count<EOL><DEDENT>else:<EOL><INDENT>qsize = self._result_queue.qsize()<EOL><DEDENT>for _ in range(qsize):<EOL><INDENT>simple_dags.append(self._result_queue.get())<EOL><DEDENT>self._result_count = <NUM_LIT:0><EOL>return simple_dags<EOL>
Harvest DAG parsing results from result queue and sync metadata from stat queue.
:return: List of parsing result in SimpleDag format.