Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vercel/vercel
/ _must_getenv
Function
_must_getenv
python/vercel-runtime/src/vercel_runtime/vc_init.py:126–130 ·
view source on GitHub ↗
(varname: str)
Source
from the content-addressed store, hash-verified
124
125
126
def
_must_getenv(varname: str) -> str:
127
value = os.environ.get(varname)
128
if
not value:
129
_fatal(f
"{varname} is not set"
)
130
return
value
131
132
133
_here = os.path.dirname(__file__)
Callers
1
vc_init.py
File · 0.85
Calls
2
_fatal
Function · 0.85
get
Method · 0.65
Tested by
no test coverage detected