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

Method new

marimo/_save/cache.py:543–553  ·  view source on GitHub ↗
(
        cls, *, loaded: Cache, key: HashKey, stateful_refs: set[str]
    )

Source from the content-addressed store, hash-verified

541
542 @classmethod
543 def new(
544 cls, *, loaded: Cache, key: HashKey, stateful_refs: set[str]
545 ) -> Cache:
546 return Cache(
547 defs=loaded.defs,
548 hash=key.hash,
549 cache_type=key.cache_type,
550 stateful_refs=stateful_refs,
551 hit=True,
552 meta=loaded.meta,
553 )
554
555
556class CacheContext(abc.ABC):

Callers 12

hash_moduleFunction · 0.80
hash_cell_groupFunction · 0.80
__init__Method · 0.80
reducer_overrideMethod · 0.80
cache_attemptMethod · 0.80
add_signature_wsFunction · 0.80
_repr_mimebundle_Method · 0.80
test_pil_imageFunction · 0.80

Calls 1

CacheClass · 0.70

Tested by 4

test_pil_imageFunction · 0.64