This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
from abc import ABC, abstractmethod
class ICache(ABC):
@abstractmethod
def get(self, key: str) -> str:
pass
# expire: 过期时间, Unix时间戳(秒)
def set(self, key: str, value: str, expire: int):