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

Get/set notebook cell #34

Closed
davidbrochart opened this issue Jul 10, 2022 · 0 comments · Fixed by #35
Closed

Get/set notebook cell #34

davidbrochart opened this issue Jul 10, 2022 · 0 comments · Fixed by #35
Labels
enhancement New feature or request

Comments

@davidbrochart
Copy link
Collaborator

davidbrochart commented Jul 10, 2022

Problem

Currently, a notebook source can only be changed/retrieved globally through its source attribute, but it could be interesting to be able to change/retrieve only a particular cell.

Proposed Solution

Add YNotebook.set_cell(index, cell) and YNotebook.get_cell(index).

Additional context

In jupyter-server/jupyverse#191 we are experimenting with a kernels REST API that allows to execute and update a cell from the back-end, where this could be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant