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

Function configure

src/py/reactpy/reactpy/backend/default.py:28–35  ·  view source on GitHub ↗

Configure the given app instance to display the given component

(
    app: Any, component: RootComponentConstructor, options: None = None
)

Source from the content-addressed store, hash-verified

26
27# BackendType.configure
28def configure(
29 app: Any, component: RootComponentConstructor, options: None = None
30) -> None:
31 """Configure the given app instance to display the given component"""
32 if options is not None: # nocov
33 msg = "Default implementation cannot be configured with options"
34 raise ValueError(msg)
35 return _default_implementation().configure(app, component)
36
37
38# BackendType.create_development_app

Callers

nothing calls this directly

Calls 2

_default_implementationFunction · 0.85
configureMethod · 0.80

Tested by

no test coverage detected