Browse Source

add concrete type

pull/9837/head
JONEMI19 2 years ago
parent
commit
427badf67b
  1. 4
      fastapi/types.py

4
fastapi/types.py

@ -8,4 +8,6 @@ DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
UnionType = getattr(types, "UnionType", Union) UnionType = getattr(types, "UnionType", Union)
ModelNameMap = Dict[Union[Type[BaseModel], Type[Enum]], str] ModelNameMap = Dict[Union[Type[BaseModel], Type[Enum]], str]
IncEx = Union[Set[int], Set[str], Dict[int, Any], Dict[str, Any]] 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

Loading…
Cancel
Save