Skip to main content

write_file

AsyncMethod
This is a method of the SandboxProtocol class in the protocols module.
Write a file to the sandbox.

Signature

Parameters

str
required
Path within sandbox
Union[str, bytes]
required
File content

Returns

bool
True if successful

Source

View on GitHub

praisonaiagents/sandbox/protocols.py at line 297