Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Add missing pydantic annotations (#164)
Tomas Valenta9e3c499b69a7
diff --git a/.changeset/thin-houses-kick.md b/.changeset/thin-houses-kick.mdnew file mode 100644index 000000000..2b88f4dd2--- /dev/null+++ b/.changeset/thin-houses-kick.md@@ -0,0 +1,5 @@+---+'@e2b/python-sdk': patch+---++Add missing pydantic annotationsdiff --git a/packages/python-sdk/e2b/session/process.py b/packages/python-sdk/e2b/session/process.pyindex 1077cc252..214828111 100644--- a/packages/python-sdk/e2b/session/process.py+++ b/packages/python-sdk/e2b/session/process.py@@ -37,7 +37,7 @@ class ProcessOutput(BaseModel):delimiter: ClassVar[str] = "\n"messages: List[ProcessMessage] = []- error = False+ error: bool = False@propertydef stdout(self) -> str:diff --git a/packages/python-sdk/e2b/session/terminal.py b/packages/python-sdk/e2b/session/terminal.pyindex 79d7d305c..cfa9457dd 100644--- a/packages/python-sdk/e2b/session/terminal.py+++ b/packages/python-sdk/e2b/session/terminal.py@@ -15,7 +15,7 @@ logger = logging.getLogger(__file__)class TerminalOutput(BaseModel):- data = ""+ data: str = ""def _add_data(self, data: str) -> None:self.data += data