class_docstr: A zmq data publisher.
docstr: Set the parent for outbound messages.
code: def set_parent(self, parent):
      """Set the parent for outbound messages."""
      self.parent_header = extract_header(parent)
  
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 the ZMQDataPublisher obj's underlying member method code with example usage: obj.set_parent(parent) without return types