feat: CRUD for product barcode images

This commit is contained in:
2024-11-01 17:23:58 +04:00
parent cbe3697f1b
commit 5ed42d99dc
11 changed files with 210 additions and 4 deletions

View File

@@ -0,0 +1,18 @@
from abc import abstractmethod
from fastapi import UploadFile
class BaseImagesUploader:
@abstractmethod
def get_url(self, filename: str) -> bytes:
pass
@abstractmethod
def delete(self, filename: str):
pass
@abstractmethod
async def upload(self, upload_file: UploadFile) -> str:
pass