yera.runtime.handlers.form_echo.jupyter

Jupyter form echo handler: displays one form submission as a chat bubble.

Symbols

class JupyterFormEchoHandler — Displays a form submission's outcome and its visible answers.

JupyterFormEchoHandler

Inherits: BaseHandler

Displays a form submission's outcome and its visible answers.

Methods

push — Display the form echo.

JupyterFormEchoHandler.push

push(
    event: OutputEvent,
) → None

Display the form echo.

Parameters

event
type: OutputEvent

An output event carrying FormEchoData.

Raises

TypeError

If the event data is not FormEchoData.