# {py:mod}`simvx.core.assets.cache` ```{py:module} simvx.core.assets.cache ``` ```{autodoc2-docstring} simvx.core.assets.cache :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`LRUCache ` - ```{autodoc2-docstring} simvx.core.assets.cache.LRUCache :summary: ``` ```` ### API `````{py:class} LRUCache(max_bytes: int) :canonical: simvx.core.assets.cache.LRUCache ```{autodoc2-docstring} simvx.core.assets.cache.LRUCache ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} simvx.core.assets.cache.LRUCache.__init__ ``` ````{py:method} __len__() -> int :canonical: simvx.core.assets.cache.LRUCache.__len__ ```{autodoc2-docstring} simvx.core.assets.cache.LRUCache.__len__ ``` ```` ````{py:property} used_bytes :canonical: simvx.core.assets.cache.LRUCache.used_bytes :type: int ```{autodoc2-docstring} simvx.core.assets.cache.LRUCache.used_bytes ``` ```` ````{py:method} get(uri: str, version: str | None) -> typing.Any | None :canonical: simvx.core.assets.cache.LRUCache.get ```{autodoc2-docstring} simvx.core.assets.cache.LRUCache.get ``` ```` ````{py:method} put(uri: str, version: str | None, value: typing.Any, size_hint: int | None = None) -> None :canonical: simvx.core.assets.cache.LRUCache.put ```{autodoc2-docstring} simvx.core.assets.cache.LRUCache.put ``` ```` ````{py:method} invalidate(uri: str, version: str | None = None) -> None :canonical: simvx.core.assets.cache.LRUCache.invalidate ```{autodoc2-docstring} simvx.core.assets.cache.LRUCache.invalidate ``` ```` ````{py:method} clear() -> None :canonical: simvx.core.assets.cache.LRUCache.clear ```{autodoc2-docstring} simvx.core.assets.cache.LRUCache.clear ``` ```` `````