fastmcp/tests/server/proxy
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
..
__init__.py Fix concurrent proxy client operations with session isolation (#1083) 2025-07-08 17:22:43 -04:00
test_proxy_client.py Bump ty to ==0.0.1a25 (#2350) 2025-11-02 20:02:45 -05:00
test_proxy_server.py Internal refactor of MCP handlers (#2005) 2025-10-05 08:45:10 -04:00
test_stateful_proxy_client.py Fix stateful proxy client mixing in multi-proxies sessions (#1245) 2025-07-23 15:39:50 -04:00