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

Method get

python/openshell/sandbox.py:418–423  ·  view source on GitHub ↗
(self, sandbox_name: str)

Source from the content-addressed store, hash-verified

416 return SandboxSession(self, self.create(spec=spec))
417
418 def get(self, sandbox_name: str) -> SandboxRef:
419 response = self._stub.GetSandbox(
420 openshell_pb2.GetSandboxRequest(name=sandbox_name),
421 timeout=self._timeout,
422 )
423 return _sandbox_ref(response.sandbox)
424
425 def get_session(self, sandbox_name: str) -> SandboxSession:
426 return SandboxSession(self, self.get(sandbox_name))

Callers 15

get_sessionMethod · 0.95
wait_deletedMethod · 0.95
wait_readyMethod · 0.95
_replaceMethod · 0.45
from_active_clusterMethod · 0.45
_xdg_config_homeFunction · 0.45
_normalize_issuerFunction · 0.45
providerFunction · 0.45
_is_freshMethod · 0.45
_expiryMethod · 0.45

Calls 1

_sandbox_refFunction · 0.85

Tested by 1

_replaceMethod · 0.36