@e2b/python-sdk@2.51.0
Minor Changes
-
5c0f6eb: Remove SDK-side defaults from API request payloads so the API defaults apply when options are omitted. Sandbox create/fork/connect no longer preset a 5-minute timeout, fork no longer presets
count: 1, create no longer presetsallow_internet_access, pause no longer presets keeping memory, and template builds no longer preset CPU/memory. Explicitly provided values are still sent unchanged.Sandbox create and connect now use the v2 API endpoints (
POST /v2/sandboxes,POST /v2/sandboxes/{id}/connect), which defaulttimeoutto 5 minutes and always secure envd access. Thesecureoption onSandbox.createis deprecated: every sandbox is secured, so the option is still accepted but ignored.
Patch Changes
- 5c0f6eb: Remove client-side validation of the fork
countargument. The API validates the requested fork count and rejects invalid values.