fix auth, decryption, api interaction

This commit is contained in:
Alex Bezdieniezhnykh
2025-01-20 10:17:35 +02:00
parent e21dd7e70f
commit ce25ef38b0
12 changed files with 146 additions and 103 deletions
+4 -5
View File
@@ -1,10 +1,9 @@
from processor_command cimport FileCommand
cdef class ApiClient:
cdef str email, password, token, folder, token_file, api_url
cdef get_encryption_key(self, str hardware_hash)
cdef login(self, str email, str password, bint persist_token=*)
cdef bytes load_file(self, str filename, bint persist_token=*)
cdef bytes load_ai_model(self)
cdef login(self, str email, str password)
cdef load_bytes(self, str filename)
cdef load_ai_model(self)
cdef load_queue_config(self)