You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation it writes that stopstops "any descendants of this cell that were previously scheduled to run will not be run" . Now I run the following simple code with stop condition, and I see the last cell (the descendant, correct?) that is still being executed.
The expected outcome is that the last cell is not executed. Or did I read the documentation incorrectly? If that is not the purpose of mo.stop, then please clarify in the doc how to stop execution of all the cells below the one that is meant to stop the program.
importmarimo__generated_with="0.9.33"app=marimo.App(width="medium")
@app.celldef__():
importmarimoasmoreturn (mo,)
@app.celldef__(mo):
mo.stop(True, mo.md("stopped execution"))
return@app.celldef__(mo):
mo.md("""hey, I am still visible, although I am a descendant of the other cell""")
returnif__name__=="__main__":
app.run()
The text was updated successfully, but these errors were encountered:
The bottom markdown is not a dependency of the cell prior. Descendants are not "below" one another but rather reference a variable that another cell declares (like excel, descendants are not lower on the spreadsheet).
Describe the bug
Hi!
In the documentation it writes that
stop
stops "any descendants of this cell that were previously scheduled to run will not be run" . Now I run the following simple code with stop condition, and I see the last cell (the descendant, correct?) that is still being executed.The expected outcome is that the last cell is not executed. Or did I read the documentation incorrectly? If that is not the purpose of
mo.stop
, then please clarify in the doc how to stop execution of all the cells below the one that is meant to stop the program.Environment
Code to reproduce
The text was updated successfully, but these errors were encountered: