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

Method constructor

src/kernels/types.ts:273–278  ·  view source on GitHub ↗
(options: { kernelSpec: IJupyterKernelSpec; interpreter: PythonEnvironment; id: string })

Source from the content-addressed store, hash-verified

271 public readonly interpreter: PythonEnvironment;
272 public readonly id: string;
273 private constructor(options: { kernelSpec: IJupyterKernelSpec; interpreter: PythonEnvironment; id: string }) {
274 this.kernelSpec = options.kernelSpec;
275 this.interpreter = options.interpreter;
276 this.id = options.id;
277 sendKernelTelemetry(this);
278 }
279 public static create(options: { kernelSpec: IJupyterKernelSpec; interpreter: PythonEnvironment; id: string }) {
280 return new PythonKernelConnectionMetadata(options);
281 }

Callers

nothing calls this directly

Calls 1

sendKernelTelemetryFunction · 0.70

Tested by

no test coverage detected