MCPcopy Index your code
hub / github.com/reactive-python/reactpy / Example

Function Example

docs/docs_app/app.py:24–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23@component
24def Example():
25 raw_view_id = use_request().get_args().get("view_id")
26 view_id = get_normalized_example_name(raw_view_id)
27 return _get_examples()[view_id]()
28
29
30def _get_examples():

Callers

nothing calls this directly

Calls 4

use_requestFunction · 0.90
_get_examplesFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected