mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-26 07:24:18 +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 |
||
|---|---|---|
| .. | ||
| auth | ||
| http | ||
| middleware | ||
| openapi | ||
| proxy | ||
| tasks | ||
| __init__.py | ||
| test_app_state.py | ||
| test_auth_integration.py | ||
| test_context.py | ||
| test_dependencies.py | ||
| test_event_store.py | ||
| test_file_server.py | ||
| test_icons.py | ||
| test_import_server.py | ||
| test_input_validation.py | ||
| test_log_level.py | ||
| test_logging.py | ||
| test_mount.py | ||
| test_run_server.py | ||
| test_server.py | ||
| test_server_docket.py | ||
| test_server_interactions.py | ||
| test_server_lifespan.py | ||
| test_streamable_http_no_redirect.py | ||
| test_tool_annotations.py | ||
| test_tool_exclude_args.py | ||
| test_tool_transformation.py | ||