reset_python
Restart the IPython kernel, preserving execution history and sequential cell numbering; any running execution is killed before restart.
Instructions
重启 IPython kernel,并保留 loommux 服务器会话中的 execution 历史。
重置边界
若存在 running execution,它会先标记为 killed;随后旧 kernel
停止并创建替代 kernel。已存在的记录及其输出流仍可按原整数
execution 读取,下一次接受的 cell 使用连续的下一个编号。
Returns: 新 kernel 的状态与 PID;重启失败时返回 workspace 或 kernel 启动错误。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||