Files
annotations/Azaion.Inference/remote_command.pxd
T
2025-02-13 18:13:15 +02:00

15 lines
276 B
Cython

cdef enum CommandType:
LOGIN = 10
LOAD = 20
INFERENCE = 30
STOP_INFERENCE = 40
EXIT = 100
cdef class RemoteCommand:
cdef public bytes client_id
cdef CommandType command_type
cdef bytes data
@staticmethod
cdef from_msgpack(bytes data)