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

@@ -0,0 +1,25 @@
from __future__ import annotations
from storage_service.utils.enums.file_type import FileType
from abc import ABC, abstractmethod
from typing import Any
class StorageService(ABC):
def __init__(self, **kwargs):
pass
@abstractmethod
def get_temp_upload_link(
self, file_name, file_type: FileType
) -> dict[str, str | Any]:
pass
@abstractmethod
def get_temp_read_link(self, file_name) -> dict[str, str | Any]:
pass
@abstractmethod
def process_file(self, file_name: str, file_type: FileType) -> None:
pass