We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aa1ad2 commit b714324Copy full SHA for b714324
src/mcp/client/stdio/__init__.py
@@ -103,7 +103,7 @@ class StdioServerParameters(BaseModel):
103
104
105
@asynccontextmanager
106
-async def stdio_client(server: StdioServerParameters, errlog: TextIO = sys.stderr):
+async def stdio_client(server: StdioServerParameters, errlog: TextIO | None = None):
107
"""
108
Client transport for stdio: this will connect to a server by spawning a
109
process and communicating with it over stdin/stdout.
0 commit comments