Skip to content

Commit bb1acbf

Browse files
committed
Fixed pyright issues.
1 parent fa3ab0f commit bb1acbf

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2584,11 +2584,7 @@ async def main() -> None:
25842584
client = httpx.AsyncClient(auth=enterprise_auth, timeout=30.0)
25852585

25862586
# Step 5: Connect to MCP server with authenticated client
2587-
async with streamable_http_client(url="https://mcp-server.example.com", http_client=client) as (
2588-
read,
2589-
write,
2590-
_,
2591-
):
2587+
async with streamable_http_client(url="https://mcp-server.example.com", http_client=client) as (read, write):
25922588
async with ClientSession(read, write) as session:
25932589
await session.initialize()
25942590

examples/snippets/clients/enterprise_managed_auth_client.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,7 @@ async def main() -> None:
7575
client = httpx.AsyncClient(auth=enterprise_auth, timeout=30.0)
7676

7777
# Step 5: Connect to MCP server with authenticated client
78-
async with streamable_http_client(url="https://mcp-server.example.com", http_client=client) as (
79-
read,
80-
write,
81-
_,
82-
):
78+
async with streamable_http_client(url="https://mcp-server.example.com", http_client=client) as (read, write):
8379
async with ClientSession(read, write) as session:
8480
await session.initialize()
8581

0 commit comments

Comments
 (0)