File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11# This is a config for E2B sandbox template.
2- # You can use 'template_id' (rki5dems9wqfm4r03t7g) or 'template_name (base) from this config to spawn a sandbox:
2+ # You can use template ID (rki5dems9wqfm4r03t7g) or template name (base) to create a sandbox:
33
44# Python SDK
5- # from e2b import Sandbox
6- # sandbox = Sandbox(template='base')
5+ # from e2b import Sandbox, AsyncSandbox
6+ # sandbox = Sandbox("base") # Sync sandbox
7+ # sandbox = await AsyncSandbox.create("base") # Async sandbox
78
89# JS SDK
910# import { Sandbox } from 'e2b'
10- # const sandbox = await Sandbox.create({ template: 'base' } )
11+ # const sandbox = await Sandbox.create('base')
1112
1213team_id = " 460355b3-4f64-48f9-9a16-4442817f79f5"
1314memory_mb = 512
You can’t perform that action at this time.
0 commit comments