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

Method load_cache

marimo/_save/loaders/loader.py:184–191  ·  view source on GitHub ↗

Load Cache. `glbls` is an optional cell namespace used by loaders (e.g. `LazyLoader`) that need to resolve `__main__`-qualified pickle refs against the live cell scope.

(
        self,
        key: HashKey,
        glbls: dict[str, Any] | None = None,
    )

Source from the content-addressed store, hash-verified

182
183 @abstractmethod
184 def load_cache(
185 self,
186 key: HashKey,
187 glbls: dict[str, Any] | None = None,
188 ) -> Cache | None:
189 """Load Cache. `glbls` is an optional cell namespace used by
190 loaders (e.g. `LazyLoader`) that need to resolve
191 `__main__`-qualified pickle refs against the live cell scope."""
192
193 @abstractmethod
194 def save_cache(self, cache: Cache) -> bool:

Callers 1

cache_attemptMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected