mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 05:24:18 +02:00
Missed one
This commit is contained in:
parent
aa85f5e4ba
commit
7e87316817
1 changed files with 1 additions and 3 deletions
|
|
@ -1136,9 +1136,7 @@ class FastMCP(Generic[LifespanResultT]):
|
|||
if not self._should_enable_component(resource):
|
||||
# Parent filter blocks this resource, continue searching
|
||||
continue
|
||||
result = list[ReadResourceContents](
|
||||
await mounted.server._read_resource_middleware(key)
|
||||
)
|
||||
result = list(await mounted.server._read_resource_middleware(key))
|
||||
return result
|
||||
except NotFoundError:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue