docstr: abort a specific msg by id
docstr_tok: ["abort","a","specific","msg","by","id"]
code: def abort_request(self, stream, ident, parent):
      """abort a specific msg by id"""
      self.log.warning(
          "abort_request is deprecated in kernel_base. It os only part of IPython parallel"
      )
      msg_ids = parent["content"].get("msg_ids", None)
      if isinstance(msg_ids, string_types):
          msg_ids = [msg_ids]
      if not msg_ids:
          self._abort_queues()
      for mid in msg_ids:
          self.aborted.add(str(mid))
  
      content = dict(status="ok")
      reply_msg = self.session.send(
          stream,
          "abort_reply",
          content=content,
          parent=parent,
          ident=ident,
      )
      self.log.debug("%s", reply_msg)
  
imports: from __future__ import print_function
  import sys
  import time
  import logging
  import uuid
  from datetime import datetime
  from signal import signal, default_int_handler, SIGINT
  import zmq
  from tornado import ioloop
  from zmq.eventloop.zmqstream import ZMQStream
  from traitlets.config.configurable import SingletonConfigurable
  from IPython.core.error import StdinNotImplementedError
  from ipython_genutils import py3compat
  from ipython_genutils.py3compat import unicode_type, string_types
  from ipykernel.jsonutil import json_clean
  from traitlets import Any, Instance, Float, Dict, List, Set, Integer, Unicode, Bool, observe, default
  from jupyter_client.session import Session
  from ._version import kernel_protocol_version
label_desc: Use image node_id 37 for calling the Kernel obj's underlying member method code with example usage: obj.abort_request(stream, ident, parent) without return types