MCPcopy Create free account
hub / github.com/encode/starlette / dispatch

Function dispatch

benchmarks/urlencoded_benchmark.py:105–106  ·  view source on GitHub ↗
(runner: ASGIRunner, app: FormApp, chunks: tuple[bytes, ...])

Source from the content-addressed store, hash-verified

103
104
105def dispatch(runner: ASGIRunner, app: FormApp, chunks: tuple[bytes, ...]) -> list[Message]:
106 return runner.run(app, http_scope(), ChunkedReceive(chunks))
107
108
109@pytest.fixture(scope="module", autouse=True)

Callers 2

warm_formFunction · 0.70
test_urlencoded_formFunction · 0.70

Calls 3

ChunkedReceiveClass · 0.90
runMethod · 0.80
http_scopeFunction · 0.70

Tested by 1

test_urlencoded_formFunction · 0.56