code: def publish_data(data):
      """publish a data_message on the IOPub channel
  
      Parameters
      ----------
      data : dict
          The data to be published. Think of it as a namespace.
      """
      from ipykernel.zmqshell import ZMQInteractiveShell
  
      ZMQInteractiveShell.instance().data_pub.publish_data(data)
  
file_path: ipyparallel/ipyparallel/engine/datapub.py
imports: from ipykernel.jsonutil import json_clean
  from jupyter_client.session import Session, extract_header
  from traitlets import Any, CBytes, Dict, Instance
  from traitlets.config import Configurable
  from ipyparallel.serialize import serialize_object
label_desc: Use image node_id 1 for calling a global function with example usage: publish_data(data) without return types