Skip to content

Commit ebfade8

Browse files
authored
Fixes "sandbox id" naming consistency (uppercase) (e2b-dev#643)
2 parents 9f7957d + 7638231 commit ebfade8

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

apps/web/src/app/(docs)/docs/sandbox/page.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ sandbox.set_timeout(30)
5858

5959
## Retrieve sandbox information
6060

61-
You can retrieve sandbox information like sandbox id, template, metadata, started at/end at date by calling the `getInfo` method in JavaScript or `get_info` method in Python.
61+
You can retrieve sandbox information like sandbox ID, template, metadata, started at/end at date by calling the `getInfo` method in JavaScript or `get_info` method in Python.
6262

6363
<CodeGroup>
6464
```js

packages/js-sdk/src/sandbox/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ export class Sandbox extends SandboxApi {
361361
}
362362

363363
/**
364-
* Get sandbox information like sandbox id, template, metadata, started at/end at date.
364+
* Get sandbox information like sandbox ID, template, metadata, started at/end at date.
365365
*
366366
* @param opts connection options.
367367
*

packages/js-sdk/src/sandbox/sandboxApi.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export class SandboxApi {
144144
}
145145

146146
/**
147-
* Get sandbox information like sandbox id, template, metadata, started at/end at date.
147+
* Get sandbox information like sandbox ID, template, metadata, started at/end at date.
148148
*
149149
* @param sandboxId sandbox ID.
150150
* @param opts connection options.

packages/python-sdk/e2b/sandbox_async/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ async def get_info( # type: ignore
377377
request_timeout: Optional[float] = None,
378378
) -> SandboxInfo:
379379
"""
380-
Get sandbox information like sandbox id, template, metadata, started at/end at date.
380+
Get sandbox information like sandbox ID, template, metadata, started at/end at date.
381381
:param request_timeout: Timeout for the request in **seconds**
382382
:return: Sandbox info
383383
"""

packages/python-sdk/e2b/sandbox_sync/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ def get_info( # type: ignore
367367
request_timeout: Optional[float] = None,
368368
) -> SandboxInfo:
369369
"""
370-
Get sandbox information like sandbox id, template, metadata, started at/end at date.
370+
Get sandbox information like sandbox ID, template, metadata, started at/end at date.
371371
:param request_timeout: Timeout for the request in **seconds**
372372
:return: Sandbox info
373373
"""

0 commit comments

Comments
 (0)