We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 467b858 commit abdb46bCopy full SHA for abdb46b
lf_toolkit/io/stdio_server.py
@@ -37,10 +37,11 @@ class StdioServer(StreamServer):
37
38
def __init__(self, handler: Optional[Handler] = None):
39
super().__init__(handler)
40
- self._client = StdioClient()
+
41
42
def wrap_io(self, client: StreamIO) -> StreamIO:
43
return PrefixStreamIO(client)
44
45
async def run(self):
46
+ self._client = StdioClient()
47
await self._handle_client(self._client)
0 commit comments