baseimage-tutorial-framework/lib/tfw/builtins/event_handler.py

11 lines
324 B
Python
Raw Normal View History

2019-06-28 13:11:02 +00:00
from tfw.event_handlers import EventHandlerBase
from tfw.networking import Scope
from .tfw_server_connector import TFWServerConnector
class EventHandler(EventHandlerBase):
# pylint: disable=abstract-method
def __init__(self, key, scope=Scope.ZMQ):
super().__init__(key, TFWServerConnector(), scope=scope)