Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactive widget should work with remote Jupyter #8398

Merged
merged 1 commit into from
Nov 30, 2021
Merged

Conversation

DonJayamanne
Copy link
Contributor

For #8378

Basically interactive widgets has never worked with non-raw kernels.
@rchiodo (try the simple sample here #8378 and you'll see the print output doesn't update when using non-raw or remote).

@DonJayamanne DonJayamanne requested a review from a team as a code owner November 30, 2021 20:43
@@ -133,6 +134,9 @@ export class JupyterSession extends BaseJupyterSession {

// Make sure it is idle before we return
await this.waitForIdleOnSession(newSession, this.idleTimeout);

// So that we don't have problems with ipywidgets, always register the default ipywidgets comm target.
newSession.kernel?.registerCommTarget(Identifiers.DefaultCommTarget, noop);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what we have in raw kernels as well, we need to register comm target for jupyter.widget.

@DonJayamanne DonJayamanne merged commit b9bba59 into main Nov 30, 2021
@DonJayamanne DonJayamanne deleted the issue8378 branch November 30, 2021 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants