NotebookCellOutputItem Class

An item of the notebook cell execution output.

All required parameters must be populated in order to send to Azure.

Inheritance
NotebookCellOutputItem

Constructor

NotebookCellOutputItem(*, output_type: Union[str, azure.synapse.artifacts.models._artifacts_client_enums.CellOutputType], name: Optional[str] = None, execution_count: Optional[int] = None, text: Optional[object] = None, data: Optional[object] = None, metadata: Optional[object] = None, **kwargs)

Parameters

name
str
Required

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

execution_count
int
Required

Execution sequence number.

output_type
str or CellOutputType
Required

Required. Execution, display, or stream outputs. Possible values include: "execute_result", "display_data", "stream", "error".

text
object
Required

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

data
object
Required

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

metadata
object
Required

Metadata for the output item.