Repository navigation
API spec update, sandbox spec from basetenlabs/sandbox, and sandbox network removal - #41
Merged
Merged
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the SDK and API alignment changes.
No open issues 🎉
What changed in this PR
This PR aligns the Python SDK with updated management APIs and Baseten’s sandbox fork, removing unsupported sandbox network configuration from both generated clients and the high-level SDK.
Changes:
- Switch sandbox spec generation to
basetenlabs/sandbox, removing low-level process-wait, filesystem-copy, and tree-query support absent from that fork. - Remove sandbox network models, exports, creation parameters, and response mappings; update related tests.
- Refresh management models for intelligent-route usage and harness naming, and clarify billing date-range documentation.
| File | Description |
|---|---|
tests/sandbox/test_parity.py |
Remove parity checks for deleted network models. |
tests/sandbox/test_info.py |
Remove network mapping fixtures and assertions. |
tests/sandbox/test_client.py |
Update creation and info tests without network configuration. |
scripts/apigen/specs/sandbox.yml |
Replace sandbox spec with the Baseten fork’s API definitions. |
scripts/apigen/specs/management.json |
Refresh management schemas and remove sandbox network configuration. |
scripts/apigen/__main__.py |
Point sandbox spec downloads to Baseten’s fork. |
baseten/sandbox/_info.py |
Remove network dataclasses and conversion helpers. |
baseten/sandbox/_client.py |
Remove network parameters from synchronous and asynchronous creation. |
baseten/sandbox/__init__.py |
Remove public network-model exports. |
baseten/client/sandboxapi/_models.py |
Regenerate models to match the fork’s supported features. |
baseten/client/sandboxapi/_client.py |
Regenerate methods, parameters, and error mappings. |
baseten/client/sandboxapi/__init__.py |
Remove exports for deleted sandbox API models. |
baseten/client/managementapi/_models.py |
Update usage and harness models; remove network models. |
baseten/client/managementapi/__init__.py |
Align exports with regenerated management models. |
Review effort: Balanced
rdingwall
approved these changes
Nov 9, 2026
squidarth
approved these changes
Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 What
basetenlabs/sandboxinstead ofblaxel-ai/sandboxSandboxNetwork,SandboxNetworkProxy,SandboxNetworkProxyRoute,networkon create and info), which the API no longer supports💻 How
SANDBOX_SPEC_URLatbasetenlabs/sandboxand regenerate with--update-specs🔬 Testing