Skip to content

Commit 4520df8

Browse files
committed
Update e2b.toml
1 parent 61d1479 commit 4520df8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

templates/base/e2b.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
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

1213
team_id = "460355b3-4f64-48f9-9a16-4442817f79f5"
1314
memory_mb = 512

0 commit comments

Comments
 (0)