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

Function read_attach_token

e2e/python/test_sandbox_providers.py:215–218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213 spec = datamodel_pb2.SandboxSpec(policy=_default_policy(), providers=[])
214
215 def read_attach_token() -> str:
216 import os
217
218 return os.environ.get("CUSTOM_ATTACH_TOKEN", "NOT_SET")
219
220 def exec_token(sb: Sandbox) -> str:
221 result = sb.exec_python(read_attach_token)

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected