@e2b/code-interpreter-python@2.7.0
·
3 commits
to main
since this release
Minor Changes
-
a214875: Update e2b SDK versions
Remove
Sandbox.betaCreate(JS) andSandbox.beta_create(Python). These methods were a beta of thelifecycleconfiguration that has since shipped onSandbox.create. Migrate by callingSandbox.createwith thelifecycleoption:// before await Sandbox.betaCreate({ autoPause: true }) // after await Sandbox.create({ lifecycle: { onTimeout: 'pause' } })
# before Sandbox.beta_create(auto_pause=True) # after Sandbox.create(lifecycle={"on_timeout": "pause"})