Skip to content

Commit

Permalink
Undo default kqlmagic install (#9871)
Browse files Browse the repository at this point in the history
Co-authored-by: Monica Gupta <[email protected]>
  • Loading branch information
gupta1 and Monica Gupta authored Apr 7, 2020
1 parent 6d9f235 commit 63006e6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
3 changes: 0 additions & 3 deletions extensions/notebook/src/jupyter/jupyterServerInstallation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@ export class JupyterServerInstallation implements IJupyterServerInstallation {
}, {
name: 'powershell-kernel',
version: '0.1.3'
}, {
name: 'Kqlmagic',
version: '0.1.109'
}
];

Expand Down
9 changes: 0 additions & 9 deletions extensions/notebook/src/jupyter/jupyterSessionManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 63006e6

Please sign in to comment.