class_docstr: A simple displayhook that publishes the object's repr over a ZeroMQ
  socket.
class_docstr_tok: ["A","simple","displayhook","that","publishes","the","object","'s","repr","over","a","ZeroMQ","socket","."]
code: def set_parent(self, parent):
      self.parent_header = extract_header(parent)
  
file_path: catboost/contrib/python/ipykernel/py2/ipykernel/displayhook.py
imports: import sys
  from IPython.core.displayhook import DisplayHook
  from ipykernel.jsonutil import encode_images, json_clean
  from ipython_genutils.py3compat import builtin_mod
  from traitlets import Instance, Dict, Any
  from jupyter_client.session import extract_header, Session
label_desc: Use image node_id 4 for calling the ZMQDisplayHook obj's underlying member method code with example usage: obj.set_parent(parent) without return types