From 427badf67b176c509319efa9cc65b7c28c95f899 Mon Sep 17 00:00:00 2001 From: JONEMI19 Date: Thu, 29 Feb 2024 08:43:58 +0000 Subject: [PATCH] add concrete type --- fastapi/types.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fastapi/types.py b/fastapi/types.py index 808bcabb4..a2576955e 100644 --- a/fastapi/types.py +++ b/fastapi/types.py @@ -8,4 +8,6 @@ DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any]) UnionType = getattr(types, "UnionType", Union) ModelNameMap = Dict[Union[Type[BaseModel], Type[Enum]], str] IncEx = Union[Set[int], Set[str], Dict[int, Any], Dict[str, Any]] -FFQuery = Dict[str, Union[str, IncEx]] + +class FFQuery(Dict[str, Union[str, IncEx]]): + pass