mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
@@ -47,6 +47,7 @@ export async function getStandardKernelsForProvider(providerId: string, notebook
|
|||||||
if (!standardKernels || standardKernels.length === 0) {
|
if (!standardKernels || standardKernels.length === 0) {
|
||||||
// Fall back to using SQL provider instead
|
// Fall back to using SQL provider instead
|
||||||
standardKernels = await notebookService.getStandardKernelsForProvider(SQL_NOTEBOOK_PROVIDER) ?? [];
|
standardKernels = await notebookService.getStandardKernelsForProvider(SQL_NOTEBOOK_PROVIDER) ?? [];
|
||||||
|
providerId = SQL_NOTEBOOK_PROVIDER;
|
||||||
}
|
}
|
||||||
standardKernels.forEach(kernel => {
|
standardKernels.forEach(kernel => {
|
||||||
Object.assign(<IStandardKernelWithProvider>kernel, {
|
Object.assign(<IStandardKernelWithProvider>kernel, {
|
||||||
|
|||||||
Reference in New Issue
Block a user