Make .on method fluid
@@ -20,6 +20,7 @@ def on(self, event_type, listener, **kwargs):
"event_type": event_type,
"filters": kwargs,
})
+ return self
def event_handler(self, data):
self.logger.debug(data)
