generated from pufereq/python-template
feat(types.py): add types.py
This commit is contained in:
15
src/judas_protocol/types.py
Normal file
15
src/judas_protocol/types.py
Normal file
@@ -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"
|
||||
Reference in New Issue
Block a user