class_docstr: A DisplayPublisher that stores
class_docstr_tok: ["A","DisplayPublisher","that","stores"]
code: def publish(
      self,
      data,
      metadata=None,
      source=None,
      *,
      transient=None,
      update=False,
  ):
      self.outputs.append(
          {
              "data": data,
              "metadata": metadata,
              "transient": transient,
              "update": update,
          }
      )
  
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 for calling the CapturingDisplayPublisher obj's underlying member method code with example usage: obj.publish(data, metadata, source) without return types