Streamlit and cached_property


I am using streamlit together with cached_property from here. However, I feel like that streamlit ignores the cached_property decorator. Does this seem like expected behavior on streamlit’s side?

Further are their plans for streamlit to respect these types of caches, and is their a best practice to combine this with streamlit’s cache functionality?


1 Like

Hi @ds0014,

Would you mind posting a code snippet demonstrating what you’re doing in a streamlit script using cached_property? I would like to try to reproduce the issue but I need a little more specific understanding of what you’re trying to do and what’s going wrong.