ImageLibraryInfo

class baseten.sandbox.ImageLibraryInfo(*, name, display_name, description, long_description, image, memory, ports, categories, tags, url, icon, icon_light, icon_dark, enterprise, creation_extra_args, creation_volumes)

Bases: object

A built-in image available to every team.

Usable as a sandbox’s image without building or pushing it. From ImageClient.list_library().

Parameters:
creation_extra_args: dict[str, str] | None

Kernel selection arguments suggested when creating a sandbox from this image.

Creating a sandbox cannot pass these yet.

creation_volumes: list[ImageLibraryVolume]

Volume attachments suggested when creating a sandbox from this image.

Creating a sandbox cannot pass these yet.

description: str | None

Short description.

display_name: str | None

Human-readable name.

enterprise: bool

Whether the image requires an enterprise plan.

icon: str | None

Icon URL.

icon_dark: str | None

Dark-mode icon URL.

icon_light: str | None

Light-mode icon URL.

image: str

Image reference including its tag, to pass as a sandbox’s image.

long_description: str | None

Detailed description.

memory: int | None

Recommended memory allocation in megabytes.

name: str

Stable identifier of the image.

ports: list[SandboxPort]

Ports the image exposes.

url: str | None

Documentation URL.