MCPcopy Create free account
hub / github.com/vercel/vercel / lambda_invoke.py

File lambda_invoke.py

python/vercel-runtime/tests/fixtures/lambda_invoke.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Helper that loads vc_init.py in legacy (non-IPC) mode.
2
3Reads a JSON event from stdin, calls ``vc_handler``, and
4writes the JSON response to fd 3. We use a dedicated fd

Callers

nothing calls this directly

Calls 6

vc_handlerFunction · 0.85
compileFunction · 0.50
execFunction · 0.50
readMethod · 0.45
writeMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected