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

Function load_one_example

docs/docs_app/examples.py:31–35  ·  view source on GitHub ↗
(file_or_name: Path | str)

Source from the content-addressed store, hash-verified

29
30
31def load_one_example(file_or_name: Path | str) -> Callable[[], ComponentType]:
32 return lambda: (
33 # we use a lambda to ensure each instance is fresh
34 _load_one_example(file_or_name)
35 )
36
37
38def get_normalized_example_name(

Callers 1

load_examplesFunction · 0.85

Calls 1

_load_one_exampleFunction · 0.85

Tested by

no test coverage detected