svg conversion (#717)

This commit is contained in:
LawyZheng
2024-08-23 11:17:01 +08:00
committed by GitHub
parent e5b0d734b8
commit 76ee91ecdd
6 changed files with 150 additions and 1 deletions

16
skyvern/forge/sdk/cache/base.py vendored Normal file
View File

@@ -0,0 +1,16 @@
from abc import ABC, abstractmethod
from datetime import timedelta
from typing import Any
CACHE_EXPIRE_TIME = timedelta(weeks=1)
MAX_CACHE_ITEM = 1000
class BaseCache(ABC):
@abstractmethod
async def set(self, key: str, value: Any) -> None:
pass
@abstractmethod
async def get(self, key: str) -> Any:
pass