Skip to content

enh: jupyter sandbox#11

Merged
echarles merged 4 commits into
mainfrom
enh/jupyter
Jul 25, 2026
Merged

enh: jupyter sandbox#11
echarles merged 4 commits into
mainfrom
enh/jupyter

Conversation

@echarles

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 25, 2026 04:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the JupyterSandbox to support connecting to a specific kernel (or controlling whether to reuse a pre-warmed kernel), and exposes the underlying kernel client for advanced use cases.

Changes:

  • Added kernel_id, kernel_path, client_kwargs, and reuse_kernel options to JupyterSandbox construction and kernel connection logic.
  • Updated JupyterSandbox.start() to select the target kernel based on the new options and to pass through additional client configuration.
  • Bumped package version from 0.0.19 to 0.0.20.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
code_sandboxes/jupyter_sandbox.py Adds configurable kernel selection/reuse, passes additional client options, and exposes the underlying kernel client.
code_sandboxes/version.py Version bump to reflect the new functionality.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread code_sandboxes/jupyter_sandbox.py Outdated
Comment thread code_sandboxes/jupyter_sandbox.py
Comment thread code_sandboxes/jupyter_sandbox.py
@echarles echarles changed the title enh: jupuyter enh: jupyter sandbox Jul 25, 2026
@echarles
echarles merged commit f2b3a75 into main Jul 25, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants