MCPcopy Index your code
hub / github.com/reflex-dev/reflex / __init__

Method __init__

reflex/app.py:1591–1602  ·  view source on GitHub ↗

Initialize the event namespace. Args: namespace: The namespace. app: The application object.

(self, namespace: str, app: App)

Source from the content-addressed store, hash-verified

1589 app: App
1590
1591 def __init__(self, namespace: str, app: App):
1592 """Initialize the event namespace.
1593
1594 Args:
1595 namespace: The namespace.
1596 app: The application object.
1597 """
1598 super().__init__(namespace)
1599 self.app = app
1600
1601 # Use TokenManager for distributed duplicate tab prevention
1602 self._token_manager = TokenManager.create()
1603
1604 @property
1605 def token_to_sid(self) -> Mapping[str, str]:

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected