ImageInfo

class baseten.sandbox.ImageInfo(*, name, status, created_at, updated_at, last_deployed_at, size_bytes, tag_count)

Bases: object

An image repository as last reported by the control plane.

Parameters:
  • name (str)

  • status (Literal['UPLOADING', 'BUILDING', 'BUILT', 'FAILED'] | str)

  • created_at (datetime | None)

  • updated_at (datetime | None)

  • last_deployed_at (datetime | None)

  • size_bytes (int | None)

  • tag_count (int | None)

last_deployed_at: datetime | None

Most recent time any version of the image was used by a sandbox.

name: str

Repository name given when pushing.

To create a sandbox from the image, pass <name>:latest as its image, or <name>:<tag> for a specific version.

size_bytes: int | None

Total size of all versions.

tag_count: int | None

Number of versions, each with its own tag.