diff --git a/packages/widgets_manager7/src/manager.ts b/packages/widgets_manager7/src/manager.ts index 0d282e00d..81e36f673 100644 --- a/packages/widgets_manager7/src/manager.ts +++ b/packages/widgets_manager7/src/manager.ts @@ -13,6 +13,10 @@ export class VoilaWidgetManager extends WidgetManager { this._modelRegistered.emit(model_id); } + get kernel() { + return this.context.sessionContext.session?.kernel; + } + get registeredModels(): ReadonlySet { return this._registeredModels; }