@finalclass EnsuredImageWhat Sandbox.ensure_image returns: the ready image and how this call got it.
Constructor
Section titled “Constructor”EnsuredImage declares no __new__ or __init__, so it is not constructed directly: an instance comes back from another call in this package.
Properties
Section titled “Properties”artifact_uri
Section titled “artifact_uri”artifact_uri: strs3://<bucket>/<prefix>/<name>/artifact.zip, whether or not this call uploaded it.
image: ImageThe ready image; pass image.identifier to run.
reused
Section titled “reused”reused: boolTrue when this call’s own create did not build the image: it was ready, a build already running was waited out, or a concurrent caller won the create race.
uploaded
Section titled “uploaded”uploaded: boolWhether this call uploaded the artifact.
warnings
Section titled “warnings”warnings: list[str]What reading the build context skipped (symlinks, special files), one line each.
Special methods
Section titled “Special methods”__repr__
Section titled “__repr__”def __repr__() -> strProvenance
Section titled “Provenance”This page is generated from bindings/microvms-py/microvms.pyi by Griffe 2.3.0, run from site/scripts/gen-reference.mjs on every pnpm run sync, so an edit made here is overwritten by the next run.
To change the page, change the doc comment in the binding’s Rust source, then regenerate the declarations with mise run stubs. mise run stubs:check fails when the committed file no longer matches the source.