MCPcopy Create free account
hub / github.com/dbunt1tled/python-fast-api / __init__

Method __init__

src/app/ws/route/ws_controller.py:11–13  ·  view source on GitHub ↗
(self, app: FastAPI, container: Container)

Source from the content-addressed store, hash-verified

9
10class WSController(BaseController):
11 def __init__(self, app: FastAPI, container: Container) -> None:
12 super().__init__(container=container)
13 app.add_api_websocket_route(path="/ws/{user_id}", endpoint=self.wss)
14
15 async def wss(
16 self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected