Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
docstring for dataclass
0div86262f1bc621
diff --git a/packages/python-sdk/e2b/sandbox/filesystem/filesystem.py b/packages/python-sdk/e2b/sandbox/filesystem/filesystem.pyindex a1dd55210..3eb575791 100644--- a/packages/python-sdk/e2b/sandbox/filesystem/filesystem.py+++ b/packages/python-sdk/e2b/sandbox/filesystem/filesystem.py@@ -1,5 +1,5 @@-from enum import Enumfrom dataclasses import dataclass+from enum import Enumfrom typing import IO, Optional, Unionfrom e2b.envd.filesystem import filesystem_pb2@@ -31,9 +31,15 @@ class EntryInfo:type: Optional[FileType]path: str+WriteData = Union[str, bytes, IO]+@dataclassclass WriteEntry:+ """+ Contains path and data of the file to be written to the filesystem.+ """+path: strdata: WriteData