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: Get code history.
docstr_tok: ["Get","code","history","."]
code: def history(
      self, raw=True, output=False, hist_access_type="range", **kwds
  ):
      """Get code history."""
      content = dict(
          raw=raw,
          output=output,
          hist_access_type=hist_access_type,
          **kwds,
      )
      msg = self.session.msg("history_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 12 for calling the InProcessKernelClient obj's underlying member method code with example usage: obj.history(raw, output, hist_access_type) and returns: msg