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

Method create_session

python/openshell/sandbox.py:411–416  ·  view source on GitHub ↗
(
        self,
        *,
        spec: openshell_pb2.SandboxSpec | None = None,
    )

Source from the content-addressed store, hash-verified

409 return sandbox_ref
410
411 def create_session(
412 self,
413 *,
414 spec: openshell_pb2.SandboxSpec | None = None,
415 ) -> SandboxSession:
416 return SandboxSession(self, self.create(spec=spec))
417
418 def get(self, sandbox_name: str) -> SandboxRef:
419 response = self._stub.GetSandbox(

Callers 1

__enter__Method · 0.80

Calls 2

createMethod · 0.95
SandboxSessionClass · 0.85

Tested by

no test coverage detected