mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -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',
|
name: 'powershell-kernel',
|
||||||
version: '0.1.3'
|
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({
|
let future = this.sessionImpl.kernel.requestExecute({
|
||||||
code: allCode,
|
code: allCode,
|
||||||
silent: true,
|
silent: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user