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

Internalize frontend cell executor #14

Merged
merged 6 commits into from
May 24, 2024
Merged

Internalize frontend cell executor #14

merged 6 commits into from
May 24, 2024

Conversation

fcollonval
Copy link
Member

Internalize frontend cell executor (no need to set the flag on collaboration but PR jupyterlab/jupyter-collaboration#307 is still needed)
Queue the execution request per kernel - fixes #8
Code snippet is always sent by the client to avoid model discrepancy; API is now POST /api/kernel//execute {"code": str, "metadata": {"document_id": str, "cell_id": str}}
The metadata are used to save the output in the document model if possible

This fixes the two first points reported by @krassowski in jupyterlab/jupyter-collaboration#307 (comment)

@fcollonval fcollonval requested a review from echarles May 24, 2024 14:56
Copy link
Member

@echarles echarles left a comment

Choose a reason for hiding this comment

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

LGTM Thx @fcollonval

@echarles echarles merged commit 2be104a into main May 24, 2024
5 of 6 checks passed
@fcollonval fcollonval deleted the ft/add-lab-executor branch May 24, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cell execution order
2 participants