mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-27 07:50:43 +02:00
* Use CreateTaskResult for background task creation Move result conversion logic to components (convert_result methods) and return proper CreateTaskResult SDK type from task handlers. Consolidates MCP protocol handler overrides into server.py with documentation. * Address CodeRabbit nitpicks - Add type annotation for resource parameter in handle_resource_as_task - Move RootModel import to module level in client.py * Document intentionally unused task_meta parameters Prefix with underscore to suppress lint warnings. Client TTL will be configurable via TaskConfig in the future; keeping parameter for API stability. |
||
|---|---|---|
| .. | ||
| cli | ||
| client | ||
| contrib | ||
| deprecated | ||
| experimental | ||
| integration_tests | ||
| prompts | ||
| resources | ||
| server | ||
| tools | ||
| utilities | ||
| __init__.py | ||
| conftest.py | ||
| test_mcp_config.py | ||