-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Labels
Description
Category
Performance
Scope
Minor Enhancement
Problem
In Shiny for R, setting session$allowReconnect(TRUE)
enables reconnection behavior to existing or new sessions whenever shiny server disconnects. I don't believe this exists at the moment for Shiny for Python.
On the Javascript console on a Shiny for Python app, running Shiny.shinyapp.$socket.close()
then Shiny.shinyapp.reconnect()
does seem to produce this behavior, but Shiny.shinyapp.allowReconnect = false
and I'm unsure how to enable.
Solution
I would like the ability to set this from Python using the session object.
session.allow_reconnect(True)
and this would cause Shiny to behave similar to when it is enabled in R.
Alternatives (Optional)
No response
Example (Optional)
Impact (Optional)
No response
Contribution? (Optional)
None
oker1 and timeamagyar