Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

boyscouting: fix some docstrings

0diva2d4ad72b650
diff --git a/packages/python-sdk/e2b/exceptions.py b/packages/python-sdk/e2b/exceptions.py
index d785367ab..42db803b4 100644
--- a/packages/python-sdk/e2b/exceptions.py
+++ b/packages/python-sdk/e2b/exceptions.py
@@ -30,10 +30,10 @@ class TimeoutException(SandboxException):
"""
Raised when a timeout occurs.
- The [unavailable] exception type is caused by sandbox timeout.\n
- The [canceled] exception type is caused by exceeding request timeout.\n
- The [deadline_exceeded] exception type is caused by exceeding the timeout for process, watch, etc.\n
- The [unknown] exception type is sometimes caused by the sandbox timeout when the request is not processed correctly.\n
+ The `unavailable` exception type is caused by sandbox timeout.\n
+ The `canceled` exception type is caused by exceeding request timeout.\n
+ The `deadline_exceeded` exception type is caused by exceeding the timeout for process, watch, etc.\n
+ The `unknown` exception type is sometimes caused by the sandbox timeout when the request is not processed correctly.\n
"""
pass
diff --git a/packages/python-sdk/e2b/sandbox_async/main.py b/packages/python-sdk/e2b/sandbox_async/main.py
index e3c3d4cc3..7b80f5c10 100644
--- a/packages/python-sdk/e2b/sandbox_async/main.py
+++ b/packages/python-sdk/e2b/sandbox_async/main.py
@@ -46,6 +46,7 @@ class AsyncSandbox(SandboxSetup, SandboxApi):
@property
def pty(self) -> Pty:
+ """Get a Pty Object"""
return self._pty
@property