Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Update src/fastmcp/resources/template.py

Jeremiah Lowin18b4253e1f47
diff --git a/src/fastmcp/resources/template.py b/src/fastmcp/resources/template.py
index 3c37296aa..04fae970f 100644
--- a/src/fastmcp/resources/template.py
+++ b/src/fastmcp/resources/template.py
@@ -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()