mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 10:06:30 +00:00
961d2499de
fix small issues
19 lines
463 B
Cython
19 lines
463 B
Cython
from user cimport User
|
|
from credentials cimport Credentials
|
|
from file_data cimport FileData
|
|
|
|
cdef class ApiClient:
|
|
cdef public Credentials credentials
|
|
cdef str token, folder, 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, str folder=*)
|
|
cdef load_ai_model(self)
|
|
cdef load_queue_config(self)
|
|
|