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.
      """
      warnings.warn(
          "ipykernel.datapub is deprecated. It has moved to ipyparallel.datapub",
          DeprecationWarning,
          stacklevel=2,
      )
  
      from ipykernel.zmqshell import ZMQInteractiveShell
  
      ZMQInteractiveShell.instance().data_pub.publish_data(data)
  
file_path: catboost/contrib/python/ipykernel/py3/ipykernel/datapub.py
imports: import warnings
  from traitlets import Any, CBytes, Dict, Instance
  from traitlets.config import Configurable
  from ipykernel.jsonutil import json_clean
  from jupyter_client.session import Session, extract_header
label_desc: Use image node_id 1 for calling a global function with example usage: publish_data(data) without return types