Skip to content

@e2b/code-interpreter-python@2.7.0

Choose a tag to compare

@github-actions github-actions released this 22 May 20:07
· 3 commits to main since this release
a214875

Minor Changes

  • a214875: Update e2b SDK versions

    Remove Sandbox.betaCreate (JS) and Sandbox.beta_create (Python). These methods were a beta of the lifecycle configuration that has since shipped on Sandbox.create. Migrate by calling Sandbox.create with the lifecycle option:

    // 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"})