mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 12:26:30 +00:00
add loader and versioning
This commit is contained in:
@@ -143,8 +143,9 @@ cdef class ApiClient:
|
||||
if self.cdn_manager.download(folder, big_part):
|
||||
with open(path.join(<str> folder, big_part), 'rb') as binary_file:
|
||||
encrypted_bytes_big = binary_file.read()
|
||||
# return encrypted_bytes_big
|
||||
else:
|
||||
return None
|
||||
raise Exception(f'Cannot download file {folder}\\{big_part} from CDN!')
|
||||
|
||||
cdef load_big_small_resource(self, str resource_name, str folder):
|
||||
cdef str big_part = f'{resource_name}.big'
|
||||
|
||||
Reference in New Issue
Block a user