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

Method set

src/platform/api/python-envs/api.ts:421–421  ·  view source on GitHub ↗

* Sets the current Python environment within the specified scope. * @param scope - The scope within which to set the environment. * @param environment - The Python environment to set. If undefined, the environment is unset. * @returns A promise that resolves when the environment is se

(scope: SetEnvironmentScope, environment?: PythonEnvironment)

Source from the content-addressed store, hash-verified

419 * @returns A promise that resolves when the environment is set.
420 */
421 set(scope: SetEnvironmentScope, environment?: PythonEnvironment): Promise<void>;
422
423 /**
424 * Retrieves the current Python environment within the specified scope.

Callers 15

visitFunction · 0.65
trackKernelMethod · 0.65
removeAllCellsMethod · 0.65
wrapKernelMethodMethod · 0.65
trackDebugAdapterFunction · 0.65
watchKernelMethod · 0.65
dumpCellMethod · 0.65
updateDebugContextKeyMethod · 0.65

Calls

no outgoing calls

Tested by 9

preStoreTokenFunction · 0.52
buildTokenStorageFunction · 0.52
saveFunction · 0.52
driveOneFunction · 0.52
saveFunction · 0.52
initializeFunction · 0.52
verifyKernelsFunction · 0.52