code: def get_kernel_dict(extra_arguments=None):
      """Construct dict for kernel.json"""
      return {
          "argv": make_ipkernel_cmd(extra_arguments=extra_arguments),
          "display_name": "Python %i" % sys.version_info[0],
          "language": "python",
      }
  
file_path: catboost/contrib/python/ipykernel/py2/ipykernel/kernelspec.py
imports: from __future__ import print_function
  import errno
  import json
  import os
  import shutil
  import sys
  import tempfile
  from jupyter_client.kernelspec import KernelSpecManager
  from traitlets.config import Application
label_desc: Use image node_id 2 for calling a global function with example usage: get_kernel_dict(extra_arguments) and returns: dict