def event_check(self): events = RedisInterface.events_read() for event in events: event.kwargs['remote'] = True broadcast_event(event)
def handler(event): RedisInterface.events_push(event)