I have a question: The behavior I see is that if I reload my bokeh dashboard, it seems to re-use the session so ColumnDataSources will have the data from before the reload in them. This is causing issues because I wrote the code expecting a newly initialized session/document on every load. Can I somehow enforce that always a new session is provided?
This is causing issues because the difference in data sources between a newly initialized session and one with changes isn’t reflected on the dashboard, so there will be a desync between the frontend and backend state. This causes funny behavior. While it might be elegant to the user to continue where they left of, I’d like to disable this for now, because the dashboard doesn’t function properly as of now.
Somehow I didn’t see this when developing, because the server was reloading everytime I made some changes? Also when running this in production with multiple bokeh serve processes, it seems like this behavior only occurs when hitting the ‘right’ process, which served the requests before the reload? Also it seems to occur when opening in the dashboard in a new tab.