JupyterCodeExecutor
(Experimental) A code executor class that executes code statefully using a Jupyter server supplied to this class.
Each execution is stateful and can access variables created from previous executions in the same session.
Parameters:
Instance Attributes
code_extractor
(Experimental) Export a code extractor that can be used by an agent.
Instance Methods
execute_code_blocks
This method executes a list of code blocks as cells in the Jupyter kernel.
See: https://jupyter-client.readthedocs.io/en/stable/messaging.html for the message protocol.
Parameters:
Returns:
restart