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

Code cleanup

parent 613012fd
from enum import Enum
from colorlog import error, warning as warn, info
from colorlog import info
from .helpers import JsonNodeT
from .handler_list import OP_HANDLERS
class KnotZoneCmd(Enum):
SET = 0
class KnotOp:
def __init__(self, cmd: KnotZoneCmd, op_input: JsonNodeT):
self.cmd = cmd
self.op_input = op_input
# ---------- User-defined handlers follow ----------
class OpHandlersContainer:
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