Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/OpenShell
/ read_env_var
Function
read_env_var
e2e/python/test_sandbox_providers.py:123–126 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
121
)
122
123
def
read_env_var() -> str:
124
import
os
125
126
return
os.environ.get(
"ANTHROPIC_API_KEY"
,
"NOT_SET"
)
127
128
with
sandbox(spec=spec, delete_on_exit=True)
as
sb:
129
result = sb.exec_python(read_env_var)
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected