SandboxProcessLogLine

class baseten.sandbox.SandboxProcessLogLine(*, stream, text)

Bases: object

One line of a process’s output.

Parameters:
  • stream (Literal['stdout', 'stderr'] | None)

  • text (str)

stream: Literal['stdout', 'stderr'] | None

Which output the line came from, when the sandbox reports it.

text: str

The line, without its line ending.