mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-26 23:44:17 +02:00
* feat: make ResourceContent the canonical internal type for resources Add Resource._read() private method that always returns ResourceContent, maintaining backwards compatibility for custom resources returning str/bytes from read(). Includes deprecation warning when str/bytes is returned. * fix: address review feedback for ResourceContent - Remove ResourceContent from root exports (import from fastmcp.resources) - Fix FunctionResource.read() return type to str | bytes | ResourceContent - Decode base64 blobs in proxy when receiving from remote servers - Preserve meta in ProxyResource cached content * fix: add empty result guards in proxy resource reads |
||
|---|---|---|
| .. | ||
| cli | ||
| client | ||
| contrib | ||
| deprecated | ||
| experimental | ||
| integration_tests | ||
| prompts | ||
| resources | ||
| server | ||
| tools | ||
| utilities | ||
| __init__.py | ||
| conftest.py | ||
| test_mcp_config.py | ||