All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rapaio.jupyter.kernel.message.messages.ShellInspectRequest Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version
package org.rapaio.jupyter.kernel.message.messages;

import org.rapaio.jupyter.kernel.message.ContentType;
import org.rapaio.jupyter.kernel.message.MessageType;

import com.google.gson.annotations.SerializedName;

public record ShellInspectRequest(
        // The code that the request wants inspected
        String code,
        // The character index within the code in which the cursor is at. This allows for an inspection
        @SerializedName("cursor_pos") int cursorPos,
        // Either 0 or 1. 0 is the default and in IPython level 1 includes the source in the inspection.
        @SerializedName("detail_level")
        int detailLevel
) implements ContentType {

    @Override
    public MessageType type() {
        return MessageType.SHELL_INSPECT_REQUEST;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy