code: def _ReadEventDataIntoEvent(self, event):
      
      if self._storage_type != definitions.STORAGE_TYPE_SESSION:
        return
  
      event_data_identifier = event.GetEventDataIdentifier()
      if event_data_identifier:
        lookup_key = event_data_identifier.CopyToString()
        event_data = self._event_data[lookup_key]
  
        for attribute_name, attribute_value in event_data.GetAttributes():
          setattr(event, attribute_name, attribute_value)
docs: Reads the data into the event.
  
      This function is intended to offer backwards compatible event behavior.
  
      Args:
        event (EventObject): event.