feat: product barcode pdf resize

This commit is contained in:
2025-01-19 17:37:13 +04:00
parent b8947ce68e
commit defe31b55e
5 changed files with 52 additions and 36 deletions

View File

@@ -1,6 +1,5 @@
from abc import abstractmethod
from fastapi import UploadFile
from typing import BinaryIO
class BaseImagesUploader:
@@ -18,5 +17,5 @@ class BaseImagesUploader:
pass
@abstractmethod
async def upload(self, upload_file: UploadFile) -> str:
pass
async def upload(self, file: BinaryIO, filename: str) -> str:
pass