fastmcp/tests/experimental/openapi_parser
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
..
server Bump ty to ==0.0.1a25 (#2350) 2025-11-02 20:02:45 -05:00
utilities Fix nullable enum validation in OpenAPI converter (#2093) 2025-10-15 06:30:30 -07:00
__init__.py Clean up complexity from PR #1426 (#1435) 2025-08-10 21:55:17 -04:00
conftest.py Clean up complexity from PR #1426 (#1435) 2025-08-10 21:55:17 -04:00
README.md Clean up complexity from PR #1426 (#1435) 2025-08-10 21:55:17 -04:00

OpenAPI Parser Experiment

Performance-optimized OpenAPI parser with better transitive reference resolution.

Enabled via experimental.enable_new_openapi_parser = True