Refactors Project for More Declarative Package Name
This commit is contained in:
0
storage_service/worker/__init__.py
Normal file
0
storage_service/worker/__init__.py
Normal file
11
storage_service/worker/storage_file_worker.py
Normal file
11
storage_service/worker/storage_file_worker.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from storage_service.depends.depend_s3_service import (
|
||||
dependency_storage_service,
|
||||
)
|
||||
from storage_service.utils.enums.file_type import FileType
|
||||
from storage_service.utils.file_name_hash import file_name_hash
|
||||
|
||||
|
||||
def storage_file_worker(username: str, file_postfix: str) -> None:
|
||||
dependency_storage_service().process_file(
|
||||
file_name_hash(username, file_postfix)
|
||||
)
|
||||
Reference in New Issue
Block a user