SandboxProcessExecEventOutput¶
- class baseten.sandbox.SandboxProcessExecEventOutput(*, stream, text)¶
Bases:
objectOutput from
SandboxProcess.exec_stream().As the process wrote it, which may hold several lines, part of one, or text with no newline at all, such as a prompt. If the process finished before streaming started, each line instead arrives as its own event, without its newline.