mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 11:26:31 +00:00
62623b7123
rewrite zmq to DEALER and ROUTER add GET_USER command to get CurrentUser from Python all auth is on the python side inference run and validate annotations on python
16 lines
369 B
Cython
16 lines
369 B
Cython
cdef class RemoteCommandHandler:
|
|
cdef object _context
|
|
cdef object _router
|
|
cdef object _dealer
|
|
cdef object _shutdown_event
|
|
cdef object _on_command
|
|
|
|
cdef object _proxy_thread
|
|
cdef object _workers
|
|
|
|
cdef start(self)
|
|
cdef _proxy_loop(self)
|
|
cdef _worker_loop(self)
|
|
cdef send(self, bytes client_id, bytes data)
|
|
cdef close(self)
|