Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Improve docstrings for timeout in Python

Jakub Novak07484f021870
diff --git a/packages/python-sdk/e2b/sandbox/main.py b/packages/python-sdk/e2b/sandbox/main.py
index 84db705f0..46471c529 100644
--- a/packages/python-sdk/e2b/sandbox/main.py
+++ b/packages/python-sdk/e2b/sandbox/main.py
@@ -83,6 +83,7 @@ class Sandbox(SandboxConnection):
:param on_stdout: A default callback that is called when stdout with a newline is received from the process
:param on_stderr: A default callback that is called when stderr with a newline is received from the process
:param on_exit: A default callback that is called when the process exits
+ :param timeout: Timeout for sandbox to initialize in seconds, default is 60 seconds
"""
logger.info(f"Creating sandbox {id if isinstance(id, str) else type(id)}")