Browse Source

fix for union

pull/9837/head
JONEMI21 6 months ago
parent
commit
ef3c5fa1f1
  1. 2
      tests/test_request_params/test_query/test_free_form.py

2
tests/test_request_params/test_query/test_free_form.py

@ -88,7 +88,7 @@ async def read_required_dict_union(
class QueryModelRequiredDictUnion(BaseModel):
p: dict[str, str] | dict[str, int]
p: Union[dict[str, str], dict[str, int]]
@app.get("/model-required-dict-union")

Loading…
Cancel
Save