We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61d1479 commit 4520df8Copy full SHA for 4520df8
templates/base/e2b.toml
@@ -1,13 +1,14 @@
1
# 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:
+# You can use template ID (rki5dems9wqfm4r03t7g) or template name (base) to create a sandbox:
3
4
# Python SDK
5
-# from e2b import Sandbox
6
-# sandbox = Sandbox(template='base')
+# from e2b import Sandbox, AsyncSandbox
+# sandbox = Sandbox("base") # Sync sandbox
7
+# sandbox = await AsyncSandbox.create("base") # Async sandbox
8
9
# JS SDK
10
# import { Sandbox } from 'e2b'
-# const sandbox = await Sandbox.create({ template: 'base' })
11
+# const sandbox = await Sandbox.create('base')
12
13
team_id = "460355b3-4f64-48f9-9a16-4442817f79f5"
14
memory_mb = 512
0 commit comments