Skip to content

Commit

Permalink
updated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mishushakov committed Dec 27, 2024
1 parent 1116cc6 commit 059348a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/js-sdk/src/sandbox/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,11 +318,11 @@ export class Sandbox extends SandboxApi {
}

/**
* Get the timeout of the sandbox.
* Get the info of the sandbox.
*
* @param opts connection options.
*
* @returns timeout of the sandbox.
* @returns info of the sandbox.
*/
async getInfo(opts?: Pick<SandboxOpts, 'requestTimeoutMs'>) {
return await Sandbox.getInfo(this.sandboxId, {
Expand Down
4 changes: 2 additions & 2 deletions packages/python-sdk/e2b/sandbox_async/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,11 @@ async def get_info( # type: ignore
request_timeout: Optional[float] = None,
) -> SandboxInfo:
"""
Get the timeout of the sandbox.
Get sandbox info.
:param request_timeout: Timeout for the request in **seconds**
:return: Timeout of the sandbox
:return: Sandbox info
"""
config_dict = self.connection_config.__dict__
config_dict.pop("access_token", None)
Expand Down
4 changes: 2 additions & 2 deletions packages/python-sdk/e2b/sandbox_sync/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,11 +361,11 @@ def get_info( # type: ignore
request_timeout: Optional[float] = None,
) -> SandboxInfo:
"""
Get the timeout of the sandbox.
Get sandbox info.
:param request_timeout: Timeout for the request in **seconds**
:return: Timeout of the sandbox
:return: Sandbox info
"""
config_dict = self.connection_config.__dict__
config_dict.pop("access_token", None)
Expand Down

0 comments on commit 059348a

Please sign in to comment.