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

Function _web_module_path

src/py/reactpy/reactpy/web/module.py:385–388  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

383
384
385def _web_module_path(name: str) -> Path:
386 directory = REACTPY_WEB_MODULES_DIR.current
387 path = directory.joinpath(*name.split("/"))
388 return path.with_suffix(path.suffix)

Callers 2

module_from_fileFunction · 0.85
module_from_stringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected