MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / getOrCreate

Method getOrCreate

src/kernels/types.ts:562–562  ·  view source on GitHub ↗

* Gets or creates a kernel for a given Notebook. * WARNING: If called with different options for same Notebook, old kernel associated with the Uri will be disposed.

(notebook: NotebookDocument, options: KernelOptions)

Source from the content-addressed store, hash-verified

560 * WARNING: If called with different options for same Notebook, old kernel associated with the Uri will be disposed.
561 */
562 getOrCreate(notebook: NotebookDocument, options: KernelOptions): IKernel;
563 getKernelExecution(kernel: IKernel): INotebookKernelExecution;
564}
565

Calls

no outgoing calls

Tested by 3

initSuiteFunction · 0.52
testKernelProviderEventsFunction · 0.52
testKernelProviderEventsFunction · 0.52