code: def add_event(self, event_collection, event_body, timestamp=None):
          
          event = Event(self.project_id, event_collection, event_body,
                        timestamp=timestamp)
          self.persistence_strategy.persist(event)
docs: Adds an event.
  
          Depending on the persistence strategy of the client,
          this will either result in the event being uploaded to Keen
          immediately or will result in saving the event to some local cache.
  
          :param event_collection: the name of the collection to insert the
          event to
          :param event_body: dict, the body of the event to insert the event to
          :param timestamp: datetime, optional, the timestamp of the event