Share via


NotebookCellOutputItem interface

An item of the notebook cell execution output.

Properties

data

Output data. Use MIME type as key, and content as value.

executionCount

Execution sequence number.

metadata

Metadata for the output item.

name

For output_type=stream, determines the name of stream (stdout / stderr).

outputType

Execution, display, or stream outputs.

text

For output_type=stream, the stream's text output, represented as a string or an array of strings.

Property Details

data

Output data. Use MIME type as key, and content as value.

data?: any

Property Value

any

executionCount

Execution sequence number.

executionCount?: number

Property Value

number

metadata

Metadata for the output item.

metadata?: any

Property Value

any

name

For output_type=stream, determines the name of stream (stdout / stderr).

name?: string

Property Value

string

outputType

Execution, display, or stream outputs.

outputType: string

Property Value

string

text

For output_type=stream, the stream's text output, represented as a string or an array of strings.

text?: any

Property Value

any