(output: NotebookCellOutput)
| 296 | |
| 297 | // Output stream can only have stderr or stdout so just check the first output. Undefined if no outputs |
| 298 | function getOutputStreamType(output: NotebookCellOutput): string | undefined { |
| 299 | if (output.items.length > 0) { |
| 300 | return output.items[0].mime === CellOutputMimeTypes.stderr ? 'stderr' : 'stdout'; |
| 301 | } |
| 302 | } |
| 303 | |
| 304 | type JupyterOutput = |
| 305 | | nbformat.IUnrecognizedOutput |
no outgoing calls
no test coverage detected