@e2b/python-sdk@2.55.0
E2B released Python SDK v2.55.0, introducing a SnapshotMode ( full or filesystem ) for snapshot and pause operations, deprecating keepMemory .
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
E2B has released @e2b/python-sdk@2.55.0 . This minor release introduces the SnapshotMode type ( 'full' | 'filesystem' ) to snapshot creation and pause mechanisms. Under filesystem mode, only the disk state is saved, resulting in smaller, quicker snapshots that cold-boot without memory restoration, while leaving the source sandbox running. The existing keepMemory parameter in pause() and lifecycle timeout pause configurations is deprecated in favor of mode ( keepMemory: false maps to mode: 'filesystem' ), and passing both flags will raise an invalid argument exception. Additionally, redundant empty-chunk guards were removed from command output handling without changing runtime behavior.
可执行摘要
E2B python-sdk@2.55.0 adds mode: 'full' | 'filesystem' to createSnapshot , pause , and lifecycle timeout settings. filesystem mode skips memory persistence, enabling faster snapshots and cold-boots while source sandboxes continue running. keepMemory is deprecated.
- Agent 实用度
- 94/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Migrate existing pause configurations and snapshot calls using keepMemory to use the new mode: 'full' | 'filesystem' parameter.
- Evaluate using mode: 'filesystem' for snapshot operations where faster creation and smaller storage are preferred over memory restoration.