mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-23 14:04:18 +02:00
Update src/fastmcp/resources/template.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
c449f1d697
commit
18b4253e1f
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue