MCPcopy
hub / github.com/reflex-dev/reflex / on_load_link_default

Method on_load_link_default

tests/integration/test_linked_state.py:64–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

62
63 @rx.event
64 async def on_load_link_default(self):
65 linked_state = await self._link_to(self.room or "default") # pyright: ignore[reportAttributeAccessIssue]
66 if self.room: # pyright: ignore[reportAttributeAccessIssue]
67 assert linked_state._linked_to == self.room # pyright: ignore[reportAttributeAccessIssue]
68 else:
69 assert linked_state._linked_to == "default"
70
71 @rx.event
72 async def handle_submit(self, form_data: dict[str, Any]):

Callers

nothing calls this directly

Calls 1

_link_toMethod · 0.80

Tested by

no test coverage detected