Refactors Project for More Declarative Package Name

This commit is contained in:
2023-08-18 03:25:30 -03:00
parent 2bd7ae10b9
commit f3e77889a2
29 changed files with 108 additions and 80 deletions

View File

View 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)
)