Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Fix type issues in python 3.8
Jakub Novak39ec48b99c8b
diff --git a/packages/python-sdk/e2b/sandbox/process.py b/packages/python-sdk/e2b/sandbox/process.pyindex 9c0c6b6bf..c8be37902 100644--- a/packages/python-sdk/e2b/sandbox/process.py+++ b/packages/python-sdk/e2b/sandbox/process.py@@ -329,7 +329,7 @@ class ProcessManager:"Failed to subscribe to RPC services necessary for starting process") from e- future_exit_handler_finish = Future[ProcessOutput]()+ future_exit_handler_finish: Future[ProcessOutput] = Future()def exit_handler():future_exit.result()diff --git a/packages/python-sdk/e2b/sandbox/terminal.py b/packages/python-sdk/e2b/sandbox/terminal.pyindex 2f23902cb..83c468e46 100644--- a/packages/python-sdk/e2b/sandbox/terminal.py+++ b/packages/python-sdk/e2b/sandbox/terminal.py@@ -207,7 +207,7 @@ class TerminalManager:) from e# TODO: Handle exit handler finish for exits (the same for processes)- future_exit_handler_finish = Future[TerminalOutput]()+ future_exit_handler_finish: Future[TerminalOutput] = Future()def exit_handler():future_exit.result()