Periodic app update

Hello everyone,

Here is a hack-ish way to force a streamlit app to update periodically, without relying on a dummy import, and still allowing to interact with widgets. It does that by spawning a Thread to perform a session request_rerun().

With such mechanism, we can imagine some sort of auto updating dashboard. Unfortunately, the constant Running... message can be quite stressful :sweat_smile:



That’s a really elegant solution, thanks for sharing!