Update src/fastmcp/resources/template.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Jeremiah Lowin 2025-05-04 15:02:23 -04:00 committed by GitHub
commit 18b4253e1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -146,7 +146,7 @@ class ResourceTemplate(BaseModel):
f"Required function arguments {required_params} must be a subset of the URI parameters {uri_params}"
)
# CHeck if the URI parameters are a subset of the function parameters (skip if **kwargs present)
# Check if the URI parameters are a subset of the function parameters (skip if **kwargs present)
if not any(
param.kind == inspect.Parameter.VAR_KEYWORD
for param in sig.parameters.values()