mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 16:06:30 +00:00
make python app load a bit eariler, making startup a bit faster
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
from user cimport User
|
||||
from credentials cimport Credentials
|
||||
from file_data cimport FileData
|
||||
|
||||
cdef class ApiClient:
|
||||
cdef str email, password, token, folder, token_file, api_url
|
||||
cdef public Credentials credentials
|
||||
cdef str token, folder, api_url
|
||||
cdef User user
|
||||
|
||||
cdef get_encryption_key(self, str hardware_hash)
|
||||
@@ -9,7 +12,7 @@ cdef class ApiClient:
|
||||
cdef set_token(self, str token)
|
||||
cdef get_user(self)
|
||||
|
||||
cdef load_bytes(self, str filename)
|
||||
cdef load_bytes(self, FileData file_data)
|
||||
cdef load_ai_model(self)
|
||||
cdef load_queue_config(self)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user