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

Method get_session

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

Source from the content-addressed store, hash-verified

423 return _sandbox_ref(response.sandbox)
424
425 def get_session(self, sandbox_name: str) -> SandboxSession:
426 return SandboxSession(self, self.get(sandbox_name))
427
428 def list(self, *, limit: int = 100, offset: int = 0) -> builtins.list[SandboxRef]:
429 response = self._stub.ListSandboxes(

Callers 1

__enter__Method · 0.80

Calls 2

getMethod · 0.95
SandboxSessionClass · 0.85

Tested by

no test coverage detected