class_docstr: A traited class that publishes display data to frontends.
  
  Instances of this class are created by the main IPython object and should
  be accessed there.
class_docstr_tok: ["A","traited","class","that","publishes","display","data","to","frontends",".","Instances","of","this","class","are","created","by","the","main","IPython","object","and","should","be","accessed","there","."]
code: def __init__(self, shell=None, *args, **kwargs):
      self.shell = shell
      super().__init__(*args, **kwargs)
  
file_path: catboost/contrib/python/ipython/py3/IPython/core/displaypub.py
imports: import sys
  from traitlets.config.configurable import Configurable
  from traitlets import List
  from .display_functions import publish_display_data
label_desc: Use image node_id 1 to create a new DisplayPublisher object from inherited base classes: Configurable with example: obj = DisplayPublisher(shell)