class_docstr: Extend IPython kernel for parallel computing
class_docstr_tok: ["Extend","IPython","kernel","for","parallel","computing"]
docstr: Send a reply to an aborted request
docstr_tok: ["Send","a","reply","to","an","aborted","request"]
code: def _send_abort_reply(self, stream, msg, idents):
      """Send a reply to an aborted request"""
      # FIXME: forward-port ipython/ipykernel#684
      self.log.info(
          f"Aborting {msg['header']['msg_id']}: {msg['header']['msg_type']}"
      )
      reply_type = (
          msg["header"]["msg_type"].rsplit("_", 1)[0] + "_reply"
      )
      status = {"status": "aborted"}
      md = self.init_metadata(msg)
      md = self.finish_metadata(msg, md, status)
      md.update(status)
  
      self.session.send(
          stream,
          reply_type,
          metadata=md,
          content=status,
          parent=msg,
          ident=idents,
      )
  
imports: import asyncio
  import inspect
  import sys
  from functools import partial
  import ipykernel
  from ipykernel.ipkernel import IPythonKernel
  from traitlets import Integer, Type
  from ipyparallel.serialize import serialize_object, unpack_apply_message
  from ipyparallel.util import utcnow
  from .datapub import ZMQDataPublisher
label_desc: Use image node_id 14 for calling the IPythonParallelKernel obj's underlying member method code with example usage: obj._send_abort_reply(stream, msg, idents) without return types