from abc import ABC, abstractmethod class StorageProvider(ABC): @abstractmethod async def save(self, file_path: str, data: bytes) -> str: pass @abstractmethod async def delete(self, file_path: str) -> bool: pass @abstractmethod async def get_url(self, file_path: str) -> str: pass