Commit 0f9592fe authored by Pavel Spirek's avatar Pavel Spirek

Code cleanup

parent 613012fd
from enum import Enum from colorlog import info
from colorlog import error, warning as warn, info
from .helpers import JsonNodeT from .helpers import JsonNodeT
from .handler_list import OP_HANDLERS from .handler_list import OP_HANDLERS
class KnotZoneCmd(Enum): # ---------- User-defined handlers follow ----------
SET = 0
UNSET = 1
class KnotOp:
def __init__(self, cmd: KnotZoneCmd, op_input: JsonNodeT):
self.cmd = cmd
self.op_input = op_input
class OpHandlersContainer: class OpHandlersContainer:
def __init__(self): def __init__(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment