MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / _create

Function _create

e2e/python/conftest.py:57–65  ·  view source on GitHub ↗
(*, spec: object | None = None, delete_on_exit: bool = True)

Source from the content-addressed store, hash-verified

55@pytest.fixture
56def sandbox(cluster_name: str | None) -> Callable[..., Sandbox]:
57 def _create(*, spec: object | None = None, delete_on_exit: bool = True) -> Sandbox:
58 return Sandbox(
59 cluster=cluster_name,
60 spec=spec,
61 delete_on_exit=delete_on_exit,
62 # The sandbox image is large (Python, Node.js, coding agents) so the
63 # first pod in the cluster may need extra time for the image pull.
64 ready_timeout_seconds=300.0,
65 )
66
67 return _create
68

Callers

nothing calls this directly

Calls 1

SandboxClass · 0.90

Tested by

no test coverage detected