You've already forked RekomenciBackend
feature: add s3
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
from abc import abstractmethod
|
||||
from typing import IO, Protocol
|
||||
|
||||
|
||||
class FileStorage(Protocol):
|
||||
@abstractmethod
|
||||
async def upload(self, path: str, image: IO[bytes]) -> None:
|
||||
raise NotImplementedError
|
||||
Reference in New Issue
Block a user