def get_event(self, event_name, event_history=None):
        """Get an event from the database.

        Gets an event from the named event list removing the event and
        adding it to the event history.

        Args:
            event_name (str): Event list key.
            event_history (str, optional): Event history list.

        Returns:
            str: string representation of the event object

        """
        if event_history is None:
            event_history = event_name + '_history'
        return self._db.rpoplpush(event_name, event_history)