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

Function _make_export

src/py/reactpy/reactpy/web/module.py:367–382  ·  view source on GitHub ↗
(
    web_module: WebModule,
    name: str,
    fallback: Any | None,
    allow_children: bool,
)

Source from the content-addressed store, hash-verified

365
366
367def _make_export(
368 web_module: WebModule,
369 name: str,
370 fallback: Any | None,
371 allow_children: bool,
372) -> VdomDictConstructor:
373 return make_vdom_constructor(
374 name,
375 allow_children=allow_children,
376 import_source=ImportSourceDict(
377 source=web_module.source,
378 sourceType=web_module.source_type,
379 fallback=(fallback or web_module.default_fallback),
380 unmountBeforeUpdate=web_module.unmount_before_update,
381 ),
382 )
383
384
385def _web_module_path(name: str) -> Path:

Callers 1

exportFunction · 0.85

Calls 2

make_vdom_constructorFunction · 0.90
ImportSourceDictClass · 0.90

Tested by

no test coverage detected