JupyterKernelInterpreter
- require_confirm (bool, optional): If
True
, prompt user before running code strings for security. Defaults toTrue
. - print_stdout (bool, optional): If
True
, print the standard output of the executed code. Defaults toFalse
. - print_stderr (bool, optional): If
True
, print the standard error of the executed code. Defaults toTrue
.
init
del
_initialize_if_needed
_clean_ipython_output
_execute
run
- code (str): The code string to execute.
- code_type (str): The type of code to execute (e.g., ‘python’, ‘bash’). (default: obj:
python
)
execute_command
- command (str): The shell command to execute.
supported_code_types
update_action_space
- action_space (Dict[str, Any]): A dictionary representing the new or updated action space.