code: def get_event(self, event_key):
      
  
      event = self.event_key_map.get(event_key)
  
      if event:
        return event
  
      self.logger.error('Event "%s" is not in datafile.' % event_key)
      self.error_handler.handle_error(exceptions.InvalidEventException(enums.Errors.INVALID_EVENT_KEY_ERROR))
      return None
docs: Get event for the provided event key.
  
      Args:
        event_key: Event key for which event is to be determined.
  
      Returns:
        Event corresponding to the provided event key.