An 'input_request' message on the 'stdin' channel.

See Messaging in Jupyter.



buffers?: (ArrayBuffer | ArrayBufferView)[]

An optional list of binary buffers.

channel: "stdin"

The channel on which the message is transmitted.

content: {
    password: boolean;
    prompt: string;

The content of the message.

Type declaration

  • password: boolean

    Whether the request is for a password. If so, the frontend shouldn't echo input.

  • prompt: string

    The text to show at the prompt.

header: IHeader<"input_request">

The message header.

metadata: JSONObject

Metadata associated with the message.

parent_header: Record<string, never> | IHeader<KernelMessage.MessageType>

The parent message

Generated using TypeDoc