Browse Source

🔥 Remove unused NoneType (#10774)

pull/10777/head
Sebastián Ramírez 1 year ago
committed by GitHub
parent
commit
b98c65cb36
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      fastapi/types.py

1
fastapi/types.py

@ -6,6 +6,5 @@ from pydantic import BaseModel
DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
UnionType = getattr(types, "UnionType", Union)
NoneType = getattr(types, "UnionType", None)
ModelNameMap = Dict[Union[Type[BaseModel], Type[Enum]], str]
IncEx = Union[Set[int], Set[str], Dict[int, Any], Dict[str, Any]]

Loading…
Cancel
Save