class_docstr: Manager for Comms in the Kernel
class_docstr_tok: ["Manager","for","Comms","in","the","Kernel"]
docstr: Handler for comm_msg messages
docstr_tok: ["Handler","for","comm_msg","messages"]
code: def comm_msg(self, stream, ident, msg):
      """Handler for comm_msg messages"""
      content = msg["content"]
      comm_id = content["comm_id"]
      comm = self.get_comm(comm_id)
      if comm is None:
          return
  
      try:
          comm.handle_msg(msg)
      except Exception:
          self.log.error(
              "Exception in comm_msg for %s", comm_id, exc_info=True
          )
  
file_path: catboost/contrib/python/ipykernel/py2/ipykernel/comm/manager.py
imports: import sys
  import logging
  from traitlets.config import LoggingConfigurable
  from ipython_genutils.importstring import import_item
  from ipython_genutils.py3compat import string_types
  from traitlets import Instance, Unicode, Dict, Any, default
  from .comm import Comm
label_desc: Use image node_id 7 for calling the CommManager obj's underlying member method code with example usage: obj.comm_msg(stream, ident, msg) without return types