fastmcp/tests/resources
nate nowack 1f9992994e
fix(resources): support exploded list query parameters (#5206)
* Support RFC 6570 explode modifier for list-typed query params

🤖 Generated with Claude Code

* Resolve annotations before requiring explode, and scope it to lists

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BAKNJthovhc5VSi4MTiZUe

* Clarify why unresolved hints fall back to the raw annotation

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BAKNJthovhc5VSi4MTiZUe

* Key query expansion off the template, not the value type

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BAKNJthovhc5VSi4MTiZUe

* Say list, not collection, in the explode error

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BAKNJthovhc5VSi4MTiZUe

* fix(resources): preserve scalar query unions

* Match the explode docs to the narrowed check

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018FUoZN5xBRCYJiG5sXR1g6

* fix(resources): reject scalar explode templates

---------

Co-authored-by: Sai Mouli <saimouli2023@gmail.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 12:27:07 -05:00
..
__init__.py restore 1.x code 2025-04-09 11:54:42 -04:00
test_file_resources.py Add encoding parameter to FileResource (#3580) 2026-03-22 09:55:16 -04:00
test_function_resources.py Migrate to MCP Python SDK v2 (#4437) 2026-07-06 17:36:45 -04:00
test_resource_security.py Make the unit suite fast: in-process HTTP tests, no real sleeps, parallel Windows CI (#4554) 2026-07-20 10:51:14 -04:00
test_resource_template.py fix(resources): support exploded list query parameters (#5206) 2026-09-22 12:27:07 -05:00
test_resource_template_meta.py Migrate to MCP Python SDK v2 (#4437) 2026-07-06 17:36:45 -04:00
test_resource_template_query_params.py Raise ValueError for invalid boolean query params in resource templates (#3424) (#3434) 2026-03-07 11:40:29 -05:00
test_resources.py Move to the stable MCP Python SDK 2.0.0 (#4655) 2026-07-28 16:31:49 -04:00
test_standalone_decorator.py Migrate to MCP Python SDK v2 (#4437) 2026-07-06 17:36:45 -04:00