mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-23 05:54:19 +02:00
Internal refactor of MCP handlers (#2005)
This commit is contained in:
parent
05dc0f4771
commit
91af3cd2ae
14 changed files with 247 additions and 192 deletions
|
|
@ -104,7 +104,7 @@ async def get_server_details():
|
|||
print(f" - Imported from news app: {news_resources}")
|
||||
|
||||
# Let's try to access resources using the prefixed URI
|
||||
weather_data = await app._mcp_read_resource(uri="weather://weather/forecast")
|
||||
weather_data = await app._read_resource_mcp(uri="weather://weather/forecast")
|
||||
print(f"\nWeather data from prefixed URI: {weather_data}")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue