From 59b36d43399d9b794ee7c45aad132283f72c4f41 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Thu, 17 Oct 2024 12:05:59 +0200 Subject: [PATCH] Fix progressive rendering logic for ipywidgets 7 --- packages/widgets_manager7/src/manager.ts | 4 ++++ 1 file changed, 4 insertions(+) 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; }