mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 15:19:10 +02:00
Object-typed query parameters with explode=true (the default) were passed as raw Python dicts to httpx, which called str() on them — producing Python repr syntax (single quotes, capitalized booleans) instead of proper query parameter serialization. Per the OpenAPI specification, style=form with explode=true on objects expands each property as a separate query parameter (e.g. ?myAttribute=true). This change handles dict values in both the explode=true and explode=false branches of _serialize_query_params, using the existing _query_scalar_to_str helper for correct boolean formatting. Fixes #2857 |
||
|---|---|---|
| .. | ||
| json_schema_type | ||
| openapi | ||
| __init__.py | ||
| test_async_utils.py | ||
| test_auth.py | ||
| test_cli.py | ||
| test_components.py | ||
| test_inspect.py | ||
| test_inspect_icons.py | ||
| test_json_schema.py | ||
| test_logging.py | ||
| test_skills.py | ||
| test_tests.py | ||
| test_token_cache.py | ||
| test_typeadapter.py | ||
| test_types.py | ||
| test_version_check.py | ||