-
Couldn't load subscription status.
- Fork 2.7k
Fix tests for Pydantic 2.11 #465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix tests for Pydantic 2.11 #465
Conversation
|
@dsp-ant This is a fix to make the sdk compatible with Pydantic 2.11 otherwise the tests will fail. |
|
@ihrpr @Kludex @dsp-ant would you review this pull request? you can try to check if it exist using Pydantic 2.11. You won’t get this error if you’re using Pydantic 2.10. |
|
Happy to review if you remove all the formatting from this PR. |
|
@Kludex I’ve just followed the contribution guide. So I think the formatting is part of the guide. |
|
There was a mismatch on ruff version between CI and the pre-commit. I fixed it yesterday. There are many changes in this PR that are formatting. I mean, it's our fault, but I'd appreciate if those unrelated changes are stripped from this PR. 🙏 |
7725b68 to
a708347
Compare
I've fixed the formatting issue now. Could you review it? |
… quickstart (modelcontextprotocol#465) Update client.mdx to reflect breaking change replacing the `.defaultTools()` by `.defaultToolCallbacks()` for registering MCP tools. Signed-off-by: Christian Tzolov <[email protected]>
This is a fix for this issue.