MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / getNotebookCellOutputMetadata

Function getNotebookCellOutputMetadata

src/kernels/execution/helpers.ts:230–235  ·  view source on GitHub ↗
(output: {
    items: NotebookCellOutputItem[];
    metadata?: { [key: string]: unknown };
})

Source from the content-addressed store, hash-verified

228}
229
230export function getNotebookCellOutputMetadata(output: {
231 items: NotebookCellOutputItem[];
232 metadata?: { [key: string]: unknown };
233}): CellOutputMetadata | undefined {
234 return output.metadata as CellOutputMetadata | undefined;
235}
236
237/**
238 * Converts a Jupyter display cell output into a VSCode cell output format.

Callers 5

constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected