def trigger(self, event, *args, **kw):
        """trigger all functions from an event"""

        if not event in self.events or not self.events[event]:
            return False
        list(map(lambda x: x(*args, **kw), self.events[event]))
        return True
dataset/ETHPy150Open timofurrer/pyobservable/observable/core.py/Observable.trigger/original