MCPcopy 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
126def _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.pyFile · 0.85

Calls 2

_fatalFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected