@jupyterlite


@jupyterlite / @jupyterlite/kernel / IKernelSpecClient

Interface: IKernelSpecClient#

Defined in: packages/services/lib/kernel/tokens.d.ts:36

An interface for the kernel spec client.

Extends#

  • IKernelSpecAPIClient

Properties#

serverSettings#

readonly serverSettings: ISettings

Defined in: node_modules/@jupyterlab/services/lib/kernelspec/kernelspec.d.ts:42

The server settings for the client.

Inherited from#

KernelSpec.IKernelSpecAPIClient.serverSettings

Methods#

get()#

get(): Promise<ISpecModels>

Defined in: node_modules/@jupyterlab/services/lib/kernelspec/kernelspec.d.ts:51

Fetch all of the kernel specs.

Returns#

Promise<ISpecModels>

A promise that resolves with the kernel specs.

Notes#

Uses the Jupyter Server API and validates the response model.

Inherited from#

KernelSpec.IKernelSpecAPIClient.get