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

Method getApi

src/platform/api/pythonApi.ts:605–613  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

603 this.pendingInterpretersChangeEventTriggers.clear();
604 }
605 private async getApi(): Promise<PythonExtensionApi | undefined> {
606 if (!this.extensionChecker.isPythonExtensionInstalled) {
607 return;
608 }
609 if (!this.apiPromise) {
610 this.apiPromise = this.apiProvider.getNewApi();
611 }
612 return this.apiPromise;
613 }
614
615 private hookupOnDidChangeInterpreterEvent() {
616 // Only do this once.

Calls 1

getNewApiMethod · 0.65

Tested by

no test coverage detected