ProcessRequest

class baseten.client.sandboxapi.ProcessRequest(*, command, env=None, keepAlive=None, maxRestarts=None, name=None, restartOnFailure=None, stdin=None, timeout=None, waitForCompletion=None, waitForPorts=None, workingDir=None)

Bases: BaseModel

Parameters:
  • command (str)

  • env (dict[str, str] | None)

  • keepAlive (bool | None)

  • maxRestarts (int | None)

  • name (str | None)

  • restartOnFailure (bool | None)

  • stdin (bool | None)

  • timeout (int | None)

  • waitForCompletion (bool | None)

  • waitForPorts (list[int] | None)

  • workingDir (str | None)

model_config = {}

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