Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

fix(sandbox): export KubeVirt runtime schema

r33drichards763c7838eaac
diff --git a/libs/python/cua-sandbox/cua_sandbox/__init__.py b/libs/python/cua-sandbox/cua_sandbox/__init__.py
index db610ceaf3..9bd1c19546 100644
--- a/libs/python/cua-sandbox/cua_sandbox/__init__.py
+++ b/libs/python/cua-sandbox/cua_sandbox/__init__.py
@@ -35,6 +35,7 @@ from fleet_sdk import (
Firmware,
PoolSpec,
PoolTemplate,
+ RuntimeKind,
SandboxService,
ServiceProtocol,
)
@@ -47,6 +48,7 @@ __all__ = [
"Pool",
"CreatePoolRequest",
"PoolSpec",
+ "RuntimeKind",
"PoolTemplate",
"SandboxService",
"ServiceProtocol",
diff --git a/libs/python/cua-sandbox/tests/test_pool.py b/libs/python/cua-sandbox/tests/test_pool.py
index 5c79e7597d..025d10b9b8 100644
--- a/libs/python/cua-sandbox/tests/test_pool.py
+++ b/libs/python/cua-sandbox/tests/test_pool.py
@@ -9,6 +9,7 @@ from cua_sandbox import (
Pool,
PoolSpec,
PoolTemplate,
+ RuntimeKind,
SandboxService,
ServiceProtocol,
)
@@ -17,6 +18,10 @@ from cua_sandbox.transport.fleet_cloud import _FleetClient
from fleet_sdk import Sandbox as FleetSandbox
+def test_public_pool_schema_exports_runtime_kind() -> None:
+ assert RuntimeKind.KUBEVIRT.value == 0
+
+
def pool_request(
*,
name: str = "foo",