_commonman_
_commonman_2mo ago

marimo restart API

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.
1 Reply
Myles Scolnick
Myles Scolnick2mo ago
There is not currenlty. If there was, how would you want to call this? from python? in the notebook/cell or from elsewhere?