code: def __init__(self, *args, **kwargs):
      import warnings
  
      warnings.warn(
          "Kernel is a deprecated alias of ipykernel.ipkernel.IPythonKernel",
          DeprecationWarning,
      )
      super(Kernel, self).__init__(*args, **kwargs)
  
imports: import getpass
  import sys
  from IPython.core import release
  from ipython_genutils.py3compat import builtin_mod, PY3, unicode_type, safe_unicode
  from IPython.utils.tokenutil import token_at_cursor, line_at_cursor
  from traitlets import Instance, Type, Any, List, Bool
  from .comm import CommManager
  from .kernelbase import Kernel
  from .zmqshell import ZMQInteractiveShell
label_desc: Use image node_id 1 to create a new Kernel object from inherited base classes: IPythonKernel with example: obj = Kernel()