mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 13:16:30 +00:00
add pxd headers for correct work
fixes definitions can run until API call
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user