A 'complete_request' message.

See Messaging in Jupyter.

See also: [[ICompleteReplyMsg]], [[IKernel.complete]]

interface ICompleteRequestMsg {
    buffers?: (ArrayBuffer | ArrayBufferView)[];
    channel: "shell";
    content: {
        code: string;
        cursor_pos: number;
    };
    header: IHeader<"complete_request">;
    metadata: JSONObject;
    parent_header: IHeader<KernelMessage.MessageType> | Record<string, never>;
}

Hierarchy (view full)

Properties

buffers?: (ArrayBuffer | ArrayBufferView)[]

An optional list of binary buffers.

channel: "shell"

The channel on which the message is transmitted.

content: {
    code: string;
    cursor_pos: number;
}

The content of the message.

Type declaration

  • code: string
  • cursor_pos: number
header: IHeader<"complete_request">

The message header.

metadata: JSONObject

Metadata associated with the message.

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

The parent message