mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-24 06:24:18 +02:00
* Bump ty to >=0.0.1a25 with type fixes Follow-up to #2295. Updates ty and fixes compatibility issues with alpha 25, including: - Updated ignore comment syntax (possibly-unbound-attribute → possibly-missing-attribute) - Fixed async generator type handling with anext() - Fixed type narrowing for timeout parameters - Converted base_url assignments to AnyHttpUrl after string manipulation - Added CallToolResult to return type annotations - Removed redundant type casts - Fixed test form data to use strings instead of bytes ty alpha 25 has limitations with isinstance() narrowing on unions (see pyproject.toml for details), requiring some targeted type ignores. * Pin ty to ==0.0.1a25 Alpha releases can have breaking changes, so pin to the tested version. |
||
|---|---|---|
| .. | ||
| auth | ||
| http | ||
| middleware | ||
| openapi | ||
| proxy | ||
| __init__.py | ||
| test_app_state.py | ||
| test_auth_integration.py | ||
| test_context.py | ||
| test_experimental_openapi_feature_flag.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_resource_prefix_formats.py | ||
| test_run_server.py | ||
| test_server.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 | ||