MCPcopy Create free account
hub / github.com/dot-agent/nextpy / __init__

Method __init__

nextpy/app.py:1051–1059  ·  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

1049 app: App
1050
1051 def __init__(self, namespace: str, app: App):
1052 """Initialize the event namespace.
1053
1054 Args:
1055 namespace: The namespace.
1056 app: The application object.
1057 """
1058 super().__init__(namespace)
1059 self.app = app
1060
1061 def on_connect(self, sid, environ):
1062 """Event for when the websocket is connected.

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected