You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was in the middle of writing my own abstractions to support this use case, and I first thought, "hey, I should use pydantic." Then I thought, "hey, someone probably already wrote a pydantic adapter to do that." Now I'm here, trying to figure out if this library supports transposing the key to session state mechanics on my behalf ... do you intend to add that or does this library already do that?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently, some shenanigans are needed to persist widget state into session state across multi-page apps; see Widget behavior - Save widget values in Session State to preserve them between pages - Streamlit Docs.
I was in the middle of writing my own abstractions to support this use case, and I first thought, "hey, I should use pydantic." Then I thought, "hey, someone probably already wrote a pydantic adapter to do that." Now I'm here, trying to figure out if this library supports transposing the key to session state mechanics on my behalf ... do you intend to add that or does this library already do that?
Beta Was this translation helpful? Give feedback.
All reactions