(self, event_type)
Set the Event Type.

        :param event_type: The event type to set (must exist in DB).
        :type event_type: str
Set the Event Type.
Set the Event Type .
def set_event_type(self, event_type):
        """
        Set the Event Type.

        :param event_type: The event type to set (must exist in DB).
        :type event_type: str
        """

        if event_type in EventTypes.values():
            self.event_type = event_type
def set_event_type ( self , event_type ) : if event_type in EventTypes . values ( ) : self . event_type = event_type