We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e6faf8 commit 73d3a1dCopy full SHA for 73d3a1d
shinywidgets/_shinywidgets.py
@@ -60,9 +60,7 @@ def init_shiny_widget(w: Widget):
60
return
61
# Break out of any module-specific session. Otherwise, input.shinywidgets_comm_send
62
# will be some module-specific copy.
63
- # TODO: session = session.root_scope()
64
- while hasattr(session, "_parent"):
65
- session = cast(Session, session._parent) # pyright: ignore
+ session = session.root_scope()
66
67
# If this is the first time we've seen this session, initialize some things
68
if session not in SESSIONS:
0 commit comments