Skip to content

@e2b/python-sdk@2.66.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 16:28
· 2 commits to main since this release

Minor Changes

  • 00da275: Add resizable memory: build a template with maxMemoryMB, pick each sandbox's memoryMB on create, and pick the memory and CPUs a paused sandbox resumes with on Sandbox.connect. onResume (on_resume) now also accepts an object, { action, memoryMB, cpuCount } ({"action", "memory_mb", "cpu_count"} in Python), next to the existing 'restore' / 'reboot' strings, which keep working unchanged. The sizes apply only when the connect resumes a paused sandbox, and a size the sandbox cannot take is refused. Template.list(), Template.getInfo() and Template.listBuilds() return maxMemoryMB, and e2b template list shows a Max RAM MiB column.