jataware / beaker-kernel

Contextually-aware notebooks with built-in AI assistant
https://jataware.github.io/beaker-kernel/
MIT License
2 stars 2 forks source link

Enable Checkpointing #40

Closed fivegrant closed 5 months ago

fivegrant commented 6 months ago

This PR exposes two actions add_checkpoint and rollback which serializes the kernel's state (variables, functions, and imported modules) and allows the kernel to be restored to the previous saved state. Currently, checkpointing is only implemented for the Python subkernel.

Changes from this PR:

Work for Future PRs

fivegrant commented 6 months ago

@mattprintz and I came up with a few TODOs