MCPcopy Create free account
hub / github.com/Louisym/MiniCC / __init__

Method __init__

tutorials/17_async_await_for_sse.py:306–308  ·  view source on GitHub ↗
(self, event: str = "", data: str = "")

Source from the content-addressed store, hash-verified

304 # SSE 事件
305 class SseEvent:
306 def __init__(self, event: str = "", data: str = ""):
307 self.event = event
308 self.data = data
309
310 def __repr__(self):
311 return f"SseEvent(event='{self.event}', data='{self.data[:40]}...')"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected