Skip to content

Commit b98c65c

Browse files
authored
🔥 Remove unused NoneType (#10774)
1 parent ba99214 commit b98c65c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fastapi/types.py

-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66

77
DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
88
UnionType = getattr(types, "UnionType", Union)
9-
NoneType = getattr(types, "UnionType", None)
109
ModelNameMap = Dict[Union[Type[BaseModel], Type[Enum]], str]
1110
IncEx = Union[Set[int], Set[str], Dict[int, Any], Dict[str, Any]]

0 commit comments

Comments
 (0)