code: def GetEvents(self):
      
      for event in self._GetAttributeContainers('event'):
        if hasattr(event, 'event_data_row_identifier'):
          event_data_identifier = identifiers.SQLTableIdentifier(
              'event_data', event.event_data_row_identifier)
          event.SetEventDataIdentifier(event_data_identifier)
  
          del event.event_data_row_identifier
  
        yield event
docs: Retrieves the events.
  
      Yield:
        EventObject: event.