lavkach3
1from abc import ABC, abstractmethod2from typing import Any3
4
5class BaseBackend(ABC):6@abstractmethod7async def get(self, key: str) -> Any:8...9
10@abstractmethod11async def set(self, response: Any, key: str, ttl: int = 60) -> None:12...13
14@abstractmethod15async def delete_startswith(self, value: str) -> None:16...17