class_docstr: Cache storage that persists data to disk
  This is the default cache persistence layer for `@st.cache_data`
class_docstr_tok: ["Cache","storage","that","persists","data","to","disk","This","is","the","default","cache","persistence","layer","for","`","@","st.cache_data","`"]
code: def ttl_seconds(self) -> float:
      return (
          self._ttl_seconds
          if self._ttl_seconds is not None
          else math.inf
      )
  
imports: from __future__ import annotations
  import math
  import os
  import shutil
  from streamlit import util
  from streamlit.file_util import get_streamlit_file_path, streamlit_read, streamlit_write
  from streamlit.logger import get_logger
  from streamlit.runtime.caching.storage.cache_storage_protocol import CacheStorage, CacheStorageContext, CacheStorageError, CacheStorageKeyNotFoundError, CacheStorageManager
  from streamlit.runtime.caching.storage.in_memory_cache_storage_wrapper import InMemoryCacheStorageWrapper
label_desc: Use image node_id 2 for calling the LocalDiskCacheStorage obj's underlying member method code with example usage: obj.ttl_seconds() and returns: unknown