yera.runtime.handlers.form.jupyter

Jupyter form handler (stopgap): asks each field of a form via stdin.

Symbols

class JupyterFormHandler — Asks for each field of a form via the notebook's stdin and submits the answers.

JupyterFormHandler

Inherits: BaseHandler

Asks for each field of a form via the notebook's stdin and submits the answers.

Methods

push — Ask the form's questions and submit the answers.

JupyterFormHandler.push

push(
    event: OutputEvent,
) → None

Ask the form's questions and submit the answers.

Parameters

event
type: OutputEvent

An output event carrying FormData.

Raises

TypeError

If the event data is not FormData.