{ } Raw JSON

bundles / nbformat latest / nbformat / v4 / nbbase / output_from_msg

function

nbformat.v4.nbbase:output_from_msg

source: /nbformat/v4/nbbase.py:73

Signature

def output_from_msg(msg)

Summary

Create a NotebookNode for an output from a kernel's IOPub message.

Returns

: NotebookNode: the output as a notebook node.

Raises

: ValueError: if the message is not an output message.

Aliases

  • nbformat.v4.output_from_msg