Files
annotations/Azaion.Inference/remote_command.pxd
T
2025-02-06 10:48:03 +02:00

16 lines
301 B
Cython

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