共用方式為


NotebookCellOutputItem interface

筆記本數據格執行輸出的專案。

屬性

data

輸出數據。 使用MIME類型作為索引鍵,並將內容當做值。

executionCount

執行序號。

metadata

輸出專案的元數據。

name

針對 output_type=stream,決定數據流的名稱(stdout / stderr)。

outputType

執行、顯示或串流輸出。

text

針對 output_type=stream,數據流的文字輸出,以字串或字串陣列表示。

屬性詳細資料

data

輸出數據。 使用MIME類型作為索引鍵,並將內容當做值。

data?: any

屬性值

any

executionCount

執行序號。

executionCount?: number

屬性值

number

metadata

輸出專案的元數據。

metadata?: any

屬性值

any

name

針對 output_type=stream,決定數據流的名稱(stdout / stderr)。

name?: string

屬性值

string

outputType

執行、顯示或串流輸出。

outputType: string

屬性值

string

text

針對 output_type=stream,數據流的文字輸出,以字串或字串陣列表示。

text?: any

屬性值

any