Jeremiah Lowin Copilot commited on
Commit
c410bf8
·
unverified ·
1 Parent(s): ef81ec0

Update src/fastmcp/resources/template.py

Browse files

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Files changed (1) hide show
  1. src/fastmcp/resources/template.py +1 -1
src/fastmcp/resources/template.py CHANGED
@@ -146,7 +146,7 @@ class ResourceTemplate(BaseModel):
146
  f"Required function arguments {required_params} must be a subset of the URI parameters {uri_params}"
147
  )
148
 
149
- # CHeck if the URI parameters are a subset of the function parameters (skip if **kwargs present)
150
  if not any(
151
  param.kind == inspect.Parameter.VAR_KEYWORD
152
  for param in sig.parameters.values()
 
146
  f"Required function arguments {required_params} must be a subset of the URI parameters {uri_params}"
147
  )
148
 
149
+ # Check if the URI parameters are a subset of the function parameters (skip if **kwargs present)
150
  if not any(
151
  param.kind == inspect.Parameter.VAR_KEYWORD
152
  for param in sig.parameters.values()