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

Class _Calculator

e2e/python/test_sandbox_exec_python.py:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 sandbox: Callable[..., Sandbox],
16) -> None:
17 class _Calculator:
18 def multiply(self, left: int, right: int) -> int:
19 return left * right
20
21 with sandbox(delete_on_exit=True) as sb:
22 calculator = _Calculator()

Calls

no outgoing calls

Tested by 1