feat: adapted to the latested streamlit version 1.23.1
Hi @zhangzh-pku thanks for opening a PR. First of all, sorry for the mess on this PR. I wanted to quickly fix CI issues from the browser but I'll to dig a bit more into it. This was a hobby project for me so I'll need to find some time to understand what I did at that time :D
In any case, I'm glad to see it's still used. What's your use case for streamlit_sync? :)
Hi @zhangzh-pku thanks for opening a PR. First of all, sorry for the mess on this PR. I wanted to quickly fix CI issues from the browser but I'll to dig a bit more into it. This was a hobby project for me so I'll need to find some time to understand what I did at that time :D
In any case, I'm glad to see it's still used. What's your use case for streamlit_sync? :)
Sorry for the slow reply, I am currently dealing with a scenario where resource loading is relatively heavy, and it's connected to a backend task that takes a long time to process. Therefore, I hope to log some context information about the connection, so I can revisit this task later on.
Upvote for this PR.
My use case is a multi-client service, and the status of each client is stored in backend database; however, I don't want to reload every status from the database frequently. Therefore, the perfect match is stored those status in st.session_state to share between each other.