fastmcp/tests/utilities
Jeremiah Lowin 6cc9559f84
Bump ty to ==0.0.1a25 (#2350)
* 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.
2025-11-02 20:02:45 -05:00
..
openapi Bump ty to ==0.0.1a25 (#2350) 2025-11-02 20:02:45 -05:00
__init__.py restore 1.x code 2025-04-09 11:54:42 -04:00
test_cli.py Fix path resolution in install commands (#1951) 2025-09-29 20:04:12 -04:00
test_components.py Ensure resource + template names are properly prefixed when importing/mounting (#1423) 2025-08-08 21:29:07 -04:00
test_inspect.py Add "High Value" Ruff Rules (#2255) 2025-10-26 10:20:31 -04:00
test_json_schema.py Fix: Remove JSON schema title metadata while preserving parameters named 'title' (#1872) 2025-09-23 10:19:34 -04:00
test_json_schema_type.py Bump ty to ==0.0.1a25 (#2350) 2025-11-02 20:02:45 -05:00
test_logging.py Use lowercase namespace for fastmcp logger (#1791) 2025-09-26 12:13:02 -04:00
test_tests.py Remove open-ended and server-specific settings 2025-06-07 20:20:04 -04:00
test_typeadapter.py Fix method-bound tools (#1360) 2025-08-04 09:41:05 -04:00
test_types.py Added to_data_uri method for Image class. (#2227) 2025-11-01 11:40:08 -04:00