Implements Better Abstraction on Top of StorageService and File Handlers
Adds Expiration Time to Config Reformats Project
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
from resize_image_service.depends.depend_s3_service import (
|
||||
dependency_s3_service,
|
||||
)
|
||||
|
||||
|
||||
def s3_image_worker(string_url: str) -> None:
|
||||
dependency_s3_service().process_image(string_url)
|
||||
7
resize_image_service/worker/storage_file_worker.py
Normal file
7
resize_image_service/worker/storage_file_worker.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from resize_image_service.depends.depend_s3_service import (
|
||||
dependency_storage_service,
|
||||
)
|
||||
|
||||
|
||||
def storage_file_worker(string_url: str) -> None:
|
||||
dependency_storage_service().process_image(string_url)
|
||||
Reference in New Issue
Block a user