Skip to content

feat(sandbox): add options lookup for enabled datacenters and CPU flavors - #704

Draft
zackmckennarunpod wants to merge 3 commits into
zeke/con-1525-create-sandbox-domainfrom
zackmckenna/sandbox-options
Draft

zackmckennarunpod wants to merge 3 commits into
zeke/con-1525-create-sandbox-domainfrom
zackmckenna/sandbox-options

Conversation

@zackmckennarunpod

@zackmckennarunpod zackmckennarunpod commented Nov 9, 2026 •

Copy link
Copy Markdown

What

Adds Sandbox.options() and AsyncioSandbox.options(), which return the data centers, CPU flavors and account limits for a sandbox create, read from GET /v2/sandboxes/options.

This is based on #595 (sync and async sandbox SDK), because that is where the sandbox client lives. Retarget it to main once #595 merges.

The REST route comes from runpod/rphttp2 and is still in draft there, so a live call returns 404 until that deploys.

Verification

  • pytest tests/test_sandbox.py tests/test_sandbox_contract.py passes against the local fake server, including the three new tests, which failed before the change.
  • Not verified yet: a call against the live API.

This branch has not been deployed

No deployments
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.

1 participant