mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-24 06:24:18 +02:00
Fix patch address
This commit is contained in:
parent
132db32e51
commit
60902b5de9
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ def client_with_headless_oauth(
|
|||
raise ValueError("mcp_url is required")
|
||||
return HeadlessOAuthProvider(mcp_url)
|
||||
|
||||
with patch("fastmcp.client.auth.OAuth", side_effect=headless_oauth):
|
||||
with patch("fastmcp.client.auth.oauth.OAuth", side_effect=headless_oauth):
|
||||
client = Client(
|
||||
transport=StreamableHttpTransport(streamable_http_server),
|
||||
auth=fastmcp.client.auth.oauth.OAuth(mcp_url=streamable_http_server),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue