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

org.rapaio.jupyter.kernel.message.messages.IOPubExecuteResult 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.core.display.DisplayData;
import org.rapaio.jupyter.kernel.message.ContentType;
import org.rapaio.jupyter.kernel.message.MessageType;

import com.google.gson.annotations.SerializedName;

public class IOPubExecuteResult extends DisplayData implements ContentType {

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

    @SerializedName("execution_count")
    private final int count;

    public IOPubExecuteResult(int count, DisplayData data) {
        super(data.data(), data.metadata(), data.transientData());
        this.count = count;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy