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

Function read_generic_env_vars

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

Source from the content-addressed store, hash-verified

153 )
154
155 def read_generic_env_vars() -> str:
156 import os
157
158 token = os.environ.get("CUSTOM_SERVICE_TOKEN", "NOT_SET")
159 url = os.environ.get("CUSTOM_SERVICE_URL", "NOT_SET")
160 return f"{token}|{url}"
161
162 with sandbox(spec=spec, delete_on_exit=True) as sb:
163 result = sb.exec_python(read_generic_env_vars)

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected