-
Notifications
You must be signed in to change notification settings - Fork 42
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
typing updates #17
typing updates #17
Conversation
fix pyproject groups fix lockfile add pre-commit ci actually run ruff and fix things
@@ -24,15 +24,18 @@ build-backend = "setuptools.build_meta" | |||
[tool.setuptools_scm] | |||
write_to = "src/fastmcp/_version.py" | |||
|
|||
[dependency-groups] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dev
was not being recognized as a valid group
@@ -176,7 +180,7 @@ async def list_resource_templates(self) -> list[MCPResourceTemplate]: | |||
for template in templates | |||
] | |||
|
|||
async def read_resource(self, uri: _BaseUrl) -> Union[str, bytes]: | |||
async def read_resource(self, uri: AnyUrl | str) -> str | bytes: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can have nice union syntax now 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
looks like main is hot so will rebase and update
this PR
server.py
uv
lemme know if you want to avoid any of this for now, just getting oriented and yak shaving