diff --git a/packages/js-sdk/src/sandbox/index.ts b/packages/js-sdk/src/sandbox/index.ts index 8c4818e60..4b4e512ed 100644 --- a/packages/js-sdk/src/sandbox/index.ts +++ b/packages/js-sdk/src/sandbox/index.ts @@ -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) { return await Sandbox.getInfo(this.sandboxId, { diff --git a/packages/python-sdk/e2b/sandbox_async/main.py b/packages/python-sdk/e2b/sandbox_async/main.py index ebaf11504..9d33d9bd7 100644 --- a/packages/python-sdk/e2b/sandbox_async/main.py +++ b/packages/python-sdk/e2b/sandbox_async/main.py @@ -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) diff --git a/packages/python-sdk/e2b/sandbox_sync/main.py b/packages/python-sdk/e2b/sandbox_sync/main.py index 242bc6677..55edcbc0f 100644 --- a/packages/python-sdk/e2b/sandbox_sync/main.py +++ b/packages/python-sdk/e2b/sandbox_sync/main.py @@ -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)