read_file
AsyncMethod
This is a method of the SandboxProtocol class in the protocols module.Read a file from the sandbox.
Signature
Parameters
str
required
Path within sandbox
Returns
Optional[Union[str, bytes]]
File content or None if not found
Source
View on GitHub
praisonaiagents/sandbox/protocols.py at line 313
