From 5e3ed0fe0f1c7a15bd50b4fb5b563791c00ae0b8 Mon Sep 17 00:00:00 2001 From: Artur Borecki Date: Thu, 28 Aug 2025 13:07:17 +0200 Subject: [PATCH] feat(types.py): add types.py --- src/judas_protocol/types.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/judas_protocol/types.py diff --git a/src/judas_protocol/types.py b/src/judas_protocol/types.py new file mode 100644 index 0000000..0d0b412 --- /dev/null +++ b/src/judas_protocol/types.py @@ -0,0 +1,15 @@ +# -*- coding: utf-8 -*- +"""Types used in the judas protocol.""" + +from __future__ import annotations + +from enum import Enum + + +class Category(str, Enum): + CONTROL = "control" + + +class ControlAction(str, Enum): + HELLO = "hello" + ACK = "ack"