Similar to We want to deprecate st.cache! …and need your input ❤️ - #6 by gagangoku,
my concern is the lack of unpicklable object support.
My original problem was posted in the previous thread about the new cache primitives:
though this has been solved by using st.session_state
instead.
In my original case, my intention was to create a session-specific cache, and the session state was exactly what is for it.
So currently I don’t have specific problems, but I would like just to say that I’m afraid if there are some edge cases where users want to memoize unpicklable objects.
And I recommend to state that st.session_state
can also be an alternative of st.cache
for some specific cases in the migration guide.