parameters: (user=True, prefix=None)
docstring: Install the kernel spec for user in given prefix.
docstring_summary: Install the kernel spec for user in given prefix.
docstring_tokens: Install the kernel spec for user in given prefix .
function: def install_my_kernel_spec(user=True, prefix=None):
      """Install the kernel spec for user in given prefix."""
      print('Installing mlir-opt IPython kernel spec')
      pkgroot = os.path.dirname(__file__)
      KernelSpecManager().install_kernel_spec(os.path.join(pkgroot, 'assets'),
                                              'mlir',
                                              user=user,
                                              prefix=prefix)
function_tokens: def install_my_kernel_spec ( user = True , prefix = None ) : print ( 'Installing mlir-opt IPython kernel spec' ) pkgroot = os . path . dirname ( __file__ ) KernelSpecManager ( ) . install_kernel_spec ( os . path . join ( pkgroot , 'assets' ) , 'mlir' , user = user , prefix = prefix )