from tfw.internals.networking import Intent from .event_handler import EventHandler class ControlEventHandler(EventHandler): # pylint: disable=abstract-method def _event_callback(self, message): if message.get('intent') != Intent.EVENT.value: self.handle_event(message, self.connector)