mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 23:29: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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_allof_requestbody.py | ||
| test_circular_references.py | ||
| test_direct_array_schemas.py | ||
| test_director.py | ||
| test_legacy_compatibility.py | ||
| test_models.py | ||
| test_nullable_fields.py | ||
| test_parser.py | ||
| test_propertynames_ref_rewrite.py | ||
| test_schemas.py | ||
| test_transitive_references.py | ||