Files
annotations/Azaion.AI/processor_command.pxd
T
Alex Bezdieniezhnykh e21dd7e70f add pxd headers for correct work
fixes definitions
can run until API call
2025-01-16 17:56:58 +02:00

15 lines
312 B
Cython

cdef enum ProcessorType:
SOCKET = 1,
RABBIT = 2
cdef enum CommandType:
INFERENCE = 1
LOAD = 2
cdef class FileCommand:
cdef CommandType command_type
cdef ProcessorType processor_type
cdef str filename
@staticmethod
cdef from_msgpack(bytes data, ProcessorType processor_type)