pre-commit-ci-lite[bot]
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
1 deletions
-
tests/test_request_params/test_query/test_free_form.py
|
|
|
@ -155,7 +155,9 @@ def test_required_dict_union(path: str): |
|
|
|
|
|
|
|
|
|
|
|
@app.get("/required-dict-of-union") |
|
|
|
async def read_required_dict_of_union(p: Annotated[dict[str, Union[int, bool]], Query()]): |
|
|
|
async def read_required_dict_of_union( |
|
|
|
p: Annotated[dict[str, Union[int, bool]], Query()], |
|
|
|
): |
|
|
|
return {"p": p} |
|
|
|
|
|
|
|
|
|
|
|
|