MCPcopy
hub / github.com/marimo-team/marimo / persistent_cache

Function persistent_cache

marimo/_save/save.py:1194–1199  ·  view source on GitHub ↗
(
    fn: Callable[P, Coroutine[Any, Any, R]],
    save_path: str | None = None,
    method: LoaderKey = "pickle",
    pin_modules: bool = False,
)

Source from the content-addressed store, hash-verified

1192
1193@overload
1194def persistent_cache(
1195 fn: Callable[P, Coroutine[Any, Any, R]],
1196 save_path: str | None = None,
1197 method: LoaderKey = "pickle",
1198 pin_modules: bool = False,
1199) -> _cache_call_async[P, R]: ...
1200
1201
1202@overload

Callers 10

oneMethod · 0.90
twoMethod · 0.90
_Method · 0.90
oneMethod · 0.90
twoMethod · 0.90
oneMethod · 0.90
twoMethod · 0.90
oneMethod · 0.90
callMethod · 0.90
v1Method · 0.90

Calls 5

FileStoreClass · 0.90
resolve_loaderFunction · 0.90
partialMethod · 0.80
cacheFunction · 0.70
keysMethod · 0.45

Tested by 10

oneMethod · 0.72
twoMethod · 0.72
_Method · 0.72
oneMethod · 0.72
twoMethod · 0.72
oneMethod · 0.72
twoMethod · 0.72
oneMethod · 0.72
callMethod · 0.72
v1Method · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…