Skip to content

Conversation

dsp-ant
Copy link
Member

@dsp-ant dsp-ant commented Oct 11, 2024

Depends on:

This removes strict typing for now. I opened an issue #14 about this. With these changes it typechecks without strict mode for now. This will allow us to create automation on top of the SDK.

We currently have 21 non strict typing issues and 112 strict typing
issues. Most of the strict ones come from generic handling.

This is the initial step to tackle the non strict errors by
ignoring strict errors and adding github actions to check for type
errors. Once this is place we move back to using strict types.
Strict pyright mode results in a lot of issues regarding non fully
determined types, due to Generics. These are some issues I came across
today. We are still far from being clean on pyright.
The request and notification method were defined as str but later
overwritten in subclasses with literals. This causes a
reportIncompatibleVariableOverride issue. We need to make method
generic.
@dsp-ant dsp-ant requested a review from jspahrsummers October 11, 2024 11:13
@dsp-ant dsp-ant changed the title Davidsp/type fixes Type Fixes Oct 11, 2024
Base automatically changed from davidsp/pyproject to main October 11, 2024 13:06
@dsp-ant dsp-ant merged commit 047b5d8 into main Oct 11, 2024
1 check passed
@dsp-ant dsp-ant deleted the davidsp/type-fixes branch October 11, 2024 13:06
gspencergoog pushed a commit to gspencergoog/mcp-python-sdk that referenced this pull request Jul 29, 2025
…davidsp/prompts-fix

Add missing image for docs/
gspencergoog pushed a commit to gspencergoog/mcp-python-sdk that referenced this pull request Jul 29, 2025
…justin/fixes

Tweaks to "Get started" and "Your first server"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants