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

Cell "executing" state #365

Open
davidbrochart opened this issue Jun 15, 2023 · 1 comment
Open

Cell "executing" state #365

davidbrochart opened this issue Jun 15, 2023 · 1 comment

Comments

@davidbrochart
Copy link
Member

Currently, the execution_count field of a code cell can be None or an integer greater than 0, the former meaning that the cell was not executed, and the latter meaning that the cell was executed. But there is no way to denote that the cell is being executed, although the notebook could be saved while in that state (for instance when a cell takes time to execute).
Actually, since outputs can be generated while the cell is executing, if the notebook is saved during that time, the cell will have outputs but it will appear as "not executed", which seems contradictory.
At the same time, frontends such as JupyterLab show this information with a * in the execution_count. I think it would make sense to allow this value to be stored in the execution_count field of a code cell.
See jupyter-server/jupyter_ydoc#169 for a motivation about using this in the context of RTC.

@westurner
Copy link
Contributor

westurner commented Jun 16, 2023 via email

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

No branches or pull requests

2 participants