jupyter_client
jupyter_client copied to clipboard
History management for kernel implementations
I found the documentation a bit unclear concerning history_request
and history_reply
, https://jupyter-client.readthedocs.io/en/stable/messaging.html#history.
- Concerning the output history, what output should I save? Is it the entire
execute_reply
as a string?
session is a number counting up each time the kernel starts
- I'm implementing an in-memory history manager, every time the kernel is shutdown the history is deleted, so I guess the session number doesn't make sense in my case? (I won't be able to retrieve history from previous sessions)