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

14
skyvern/forge/sdk/cache/factory.py vendored Normal file
View File

@@ -0,0 +1,14 @@
from skyvern.forge.sdk.cache.base import BaseCache
from skyvern.forge.sdk.cache.local import LocalCache
class CacheFactory:
__cache: BaseCache = LocalCache()
@staticmethod
def set_cache(cache: BaseCache) -> None:
CacheFactory.__cache = cache
@staticmethod
def get_cache() -> BaseCache:
return CacheFactory.__cache