ProcessResponse

class baseten.client.sandboxapi.ProcessResponse(*, command, completedAt, exitCode, keepAlive=None, logs, maxRestarts=None, name, pid, restartCount=None, restartOnFailure=None, startedAt, status, stderr, stdin=None, stdout, workingDir)

Bases: BaseModel

Parameters:
  • command (str)

  • completedAt (str)

  • exitCode (int)

  • keepAlive (bool | None)

  • logs (str)

  • maxRestarts (int | None)

  • name (str)

  • pid (str)

  • restartCount (int | None)

  • restartOnFailure (bool | None)

  • startedAt (str)

  • status (Literal['failed', 'killed', 'stopped', 'running', 'completed'] | str)

  • stderr (str)

  • stdin (bool | None)

  • stdout (str)

  • workingDir (str)

model_config = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].