code: def generate_event(self, session):
          
          event_name = "event_{0}".format(self.next_id("event"))
          return self.add_event(name=event_name, subfolder=event_name,
                                session=session)
docs: Add an event