mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 09:46:30 +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
from user cimport User
|
|
|
|
cdef class ApiClient:
|
|
cdef str email, password, token, folder, token_file, api_url
|
|
cdef User user
|
|
|
|
cdef get_encryption_key(self, str hardware_hash)
|
|
cdef login(self)
|
|
cdef set_token(self, str token)
|
|
cdef get_user(self)
|
|
|
|
cdef load_bytes(self, str filename)
|
|
cdef load_ai_model(self)
|
|
cdef load_queue_config(self)
|
|
|