mirror of https://github.com/tiangolo/fastapi.git
🔥 Remove unused NoneType (#10774)
This commit is contained in:
parent
ba99214417
commit
b98c65cb36
|
|
@ -6,6 +6,5 @@ from pydantic import BaseModel
|
||||||
|
|
||||||
DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
|
DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
|
||||||
UnionType = getattr(types, "UnionType", Union)
|
UnionType = getattr(types, "UnionType", Union)
|
||||||
NoneType = getattr(types, "UnionType", None)
|
|
||||||
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]]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue