Initial Functional Implementation of S3 MicroService
This commit is contained in:
0
resize_image_service/utils/enums/__init__.py
Normal file
0
resize_image_service/utils/enums/__init__.py
Normal file
9
resize_image_service/utils/enums/file_type.py
Normal file
9
resize_image_service/utils/enums/file_type.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class FileType(Enum):
|
||||
PNG = "png"
|
||||
JPEG = "jpeg"
|
||||
|
||||
|
||||
CONTENT_TYPE = {FileType.PNG: "image/png", FileType.JPEG: "image/jpeg"}
|
||||
Reference in New Issue
Block a user