class_docstr: A client for an in-process kernel.
  
  This class implements the interface of
  `jupyter_client.clientabc.KernelClientABC` and allows
  (asynchronous) frontends to be used seamlessly with an in-process kernel.
  
  See `jupyter_client.client.KernelClient` for docstrings.
class_docstr_tok: ["A","client","for","an","in-process","kernel",".","This","class","implements","the","interface","of","`","jupyter_client.clientabc.KernelClientABC","`","and","allows","(","asynchronous",")","frontends","to","be","used","seamlessly","with","an","in-process","kernel",".","See","`","jupyter_client.client.KernelClient","`","for","docstrings","."]
docstr: Request a dictionary of valid comms and their targets.
docstr_tok: ["Request","a","dictionary","of","valid","comms","and","their","targets","."]
code: def comm_info(self, target_name=None):
      """Request a dictionary of valid comms and their targets."""
      content = (
          {} if target_name is None else dict(target_name=target_name)
      )
      msg = self.session.msg("comm_info_request", content)
      self._dispatch_to_kernel(msg)
      return msg["header"]["msg_id"]
  
imports: import asyncio
  from jupyter_client.client import KernelClient
  from jupyter_client.clientabc import KernelClientABC
  from jupyter_core.utils import run_sync
  from traitlets import Instance, Type, default
  from .channels import InProcessChannel, InProcessHBChannel
label_desc: Use image node_id 15 for calling the InProcessKernelClient obj's underlying member method code with example usage: obj.comm_info(target_name) and returns: msg