Get help from the marimo community

Updated 5 months ago

marimo restart API

At a glance

The community member is looking for an official Marimo API or SDK way to programmatically restart their Marimo session. They are currently doing this manually by reloading the page and clicking the "reload" UI button. In the comments, another community member notes that there is currently no way to do this programmatically, and asks how the community member would want to call this functionality (from Python, in the notebook/cell, or from elsewhere).

Is there a way to programmatically restart marimo session?
I have an iterative control flow logic using a SparkContext. In order to release cluster resources I figured that periodically restarting the kernel works. Currently i do this manually by page reload and clicking the “reload” UI button. I am looking for official marimo api/sdk way to restart the kernel.
M
1 comment
There is not currenlty. If there was, how would you want to call this? from python? in the notebook/cell or from elsewhere?
Add a reply
Sign up and join the conversation on Discord