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

Function use_scope

src/py/reactpy/reactpy/core/hooks.py:265–267  ·  view source on GitHub ↗

Get the current :class:`~reactpy.backend.types.Connection`'s scope.

()

Source from the content-addressed store, hash-verified

263
264
265def use_scope() -> MutableMapping[str, Any]:
266 """Get the current :class:`~reactpy.backend.types.Connection`'s scope."""
267 return use_connection().scope
268
269
270def use_location() -> Location:

Callers

nothing calls this directly

Calls 1

use_connectionFunction · 0.70

Tested by

no test coverage detected