webthing/thing.py
def add_event(self, event):
        """
        Add a new event and notify subscribers.

        event -- the event that occurred
        """
        self.events.append(event)
        self.event_notify(event)
def add_event(self, event):
        self.events.append(event)
        self.event_notify(event)
def add_event ( self , event ) : self . events . append ( event ) self . event_notify ( event )
Add a new event and notify subscribers.

        event -- the event that occurred
Add a new event and notify subscribers .