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
We need to implement a _get_comm_info method that requests info about the active comms from the kernel so that we can rehydrate the state when we refresh the page without changing the kernel.
I looked into this today, and here is my current understanding of how this _get_comm_info flow works and why I don't think it is right for our scenario:
_get_comm_info sends a message to the kernel, specifying the 'jupyter.widgets' target
Kernel responds by sending a list of comm_ids (which map to model_ids)
Manager creates a Comm for each comm_id and sends a request_state message to get the data it needs
In our flow, since we are already given a model_id before we even instantiate Manager, I think we should modify our code to get the model information to be something like this:
We need to implement a
_get_comm_info
method that requests info about the active comms from the kernel so that we can rehydrate the state when we refresh the page without changing the kernel.cc: @miduncan
The text was updated successfully, but these errors were encountered: