yera.runtime.handlers.tree_selector.jupyter
Collect tree selections through Jupyter-compatible prompts.
Symbols
class JupyterTreeSelectorHandler — Render a numbered tree and submit its selected leaf values in Jupyter.
JupyterTreeSelectorHandler
Inherits:
BaseHandlerRender a numbered tree and submit its selected leaf values in Jupyter.
The prompt validates the configured selection limits. Activating a configured cancellation action submits a correlated cancelled response without requiring a selected leaf.
Methods
push — Display the tree and submit validated selected leaf values.
JupyterTreeSelectorHandler.push
push(
event: OutputEvent,
) → NoneDisplay the tree and submit validated selected leaf values.
Parameters
event
type: OutputEvent
An output event carrying TreeSelectorData.
Raises
TypeError
If the event data is not TreeSelectorData.