mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Undo default kqlmagic install (#9871)
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
This commit is contained in:
@@ -97,9 +97,6 @@ export class JupyterServerInstallation implements IJupyterServerInstallation {
|
||||
}, {
|
||||
name: 'powershell-kernel',
|
||||
version: '0.1.3'
|
||||
}, {
|
||||
name: 'Kqlmagic',
|
||||
version: '0.1.109'
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user