mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Pre-installs and registers kqlmagic (#9558)
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
This commit is contained in:
@@ -87,6 +87,9 @@ export class JupyterServerInstallation implements IJupyterServerInstallation {
|
||||
}, {
|
||||
name: 'sparkmagic',
|
||||
version: '0.12.9'
|
||||
}, {
|
||||
name: 'Kqlmagic',
|
||||
version: '0.1.108'
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
@@ -350,6 +350,10 @@ export class JupyterSession implements nb.ISession {
|
||||
allCode += `%set_env ${key}=${process.env[key]}${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