Browse Source

Merge branch 'master' of https://github.com/mikeedjones/fastapi into free-form-query-parameters-master

pull/9837/head
JONEMI21 6 months ago
parent
commit
b69a4cb01c
  1. 1
      fastapi/_compat/v2.py
  2. 1
      tests/test_invalid_mapping_param.py

1
fastapi/_compat/v2.py

@ -647,6 +647,7 @@ else: # pragma: no cover
] ]
return field_info, {} return field_info, {}
def _regenerate_error_with_loc( def _regenerate_error_with_loc(
*, errors: Sequence[Any], loc_prefix: tuple[Union[str, int], ...] *, errors: Sequence[Any], loc_prefix: tuple[Union[str, int], ...]
) -> list[dict[str, Any]]: ) -> list[dict[str, Any]]:

1
tests/test_invalid_mapping_param.py

@ -1,4 +1,3 @@
import pytest import pytest
from fastapi import FastAPI, Query from fastapi import FastAPI, Query

Loading…
Cancel
Save