code: def _ExportEvent(self, output_module, event, deduplicate_events=True):
      
      if event.timestamp != self._export_event_timestamp:
        self._FlushExportBuffer(
            output_module, deduplicate_events=deduplicate_events)
        self._export_event_timestamp = event.timestamp
  
      self._export_event_heap.PushEvent(event)
docs: Exports an event using an output module.
  
      Args:
        output_module (OutputModule): output module.
        event (EventObject): event.
        deduplicate_events (Optional[bool]): True if events should be
            deduplicated.