yera.runtime.handlers.tree_selector.jupyter

Jupyter tree selector handler.

Symbols

class JupyterTreeSelectorHandler — Render a numbered tree and collect multiple selections in Jupyter.

JupyterTreeSelectorHandler

Inherits: BaseHandler

Render a numbered tree and collect multiple selections in Jupyter.

Methods

push — Display the tree and submit validated selected leaf values.

JupyterTreeSelectorHandler.push

push(
    event: OutputEvent,
) → None

Display 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.