rebase.Image
Declare Python version and PyPI dependencies for Rebase Functions.
Constructors
rb.Image.python(version: str = "3.13") -> rb.Image| API | Description |
|---|---|
rb.Image.python(version="3.13") | Create a Python image spec. |
Methods
image.uv_pip_install(*packages: str, uv_version: str | None = None) -> rb.Image
image.to_dict() -> dict| Method | Description |
|---|---|
uv_pip_install(*packages, uv_version=None) | Add packages installed with uv pip install. |
to_dict() | Return the serialized image spec sent to Rebase. |

