SandboxVolumeMount

class baseten.sandbox.SandboxVolumeMount(*, name, mount_path, read_only=False)

Bases: object

A persistent volume mounted in a sandbox, fixed at creation.

Parameters:
mount_path: str

Absolute path the volume is mounted at.

name: str

Name of the volume.

read_only: bool = False

Whether the volume is mounted read-only.