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

Method empty

marimo/_save/cache.py:530–540  ·  view source on GitHub ↗
(
        cls, *, key: HashKey, defs: set[str], stateful_refs: set[str]
    )

Source from the content-addressed store, hash-verified

528
529 @classmethod
530 def empty(
531 cls, *, key: HashKey, defs: set[str], stateful_refs: set[str]
532 ) -> Cache:
533 return Cache(
534 defs={d: None for d in defs},
535 hash=key.hash,
536 cache_type=key.cache_type,
537 stateful_refs=stateful_refs,
538 hit=False,
539 meta={},
540 )
541
542 @classmethod
543 def new(

Calls 1

CacheClass · 0.70