From 63006e6e6388822a001822cbe7ab830e0e04c0c9 Mon Sep 17 00:00:00 2001 From: Monica Gupta Date: Tue, 7 Apr 2020 10:20:37 -0700 Subject: [PATCH] Undo default kqlmagic install (#9871) Co-authored-by: Monica Gupta --- .../notebook/src/jupyter/jupyterServerInstallation.ts | 3 --- extensions/notebook/src/jupyter/jupyterSessionManager.ts | 9 --------- 2 files changed, 12 deletions(-) diff --git a/extensions/notebook/src/jupyter/jupyterServerInstallation.ts b/extensions/notebook/src/jupyter/jupyterServerInstallation.ts index 753abc8c8b..c1658b064f 100644 --- a/extensions/notebook/src/jupyter/jupyterServerInstallation.ts +++ b/extensions/notebook/src/jupyter/jupyterServerInstallation.ts @@ -97,9 +97,6 @@ export class JupyterServerInstallation implements IJupyterServerInstallation { }, { name: 'powershell-kernel', version: '0.1.3' - }, { - name: 'Kqlmagic', - version: '0.1.109' } ]; diff --git a/extensions/notebook/src/jupyter/jupyterSessionManager.ts b/extensions/notebook/src/jupyter/jupyterSessionManager.ts index fabd6ebd3f..5fc47ecfac 100644 --- a/extensions/notebook/src/jupyter/jupyterSessionManager.ts +++ b/extensions/notebook/src/jupyter/jupyterSessionManager.ts @@ -351,15 +351,6 @@ export class JupyterSession implements nb.ISession { } } - // To set ADS context for Kqlmagic - allCode += `%set_env KQLMAGIC_NOTEBOOK_APP=AzureDataStudio${EOL}`; - - // Enable silent mode for perf improvement of reload command. - allCode += `%set_env KQLMAGIC_LOAD_MODE=silent${EOL}`; - - // Add and register Kqlmagic to the python kernel - allCode += `%reload_ext Kqlmagic`; - let future = this.sessionImpl.kernel.requestExecute({ code: allCode, silent: true,