mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 09:46:30 +00:00
19 lines
455 B
Cython
19 lines
455 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, FileData file_data)
|
|
cdef load_ai_model(self)
|
|
cdef load_queue_config(self)
|
|
|