🔥 Remove unused NoneType (#10774)

This commit is contained in:
Sebastián Ramírez
2023-12-12 00:29:03 +00:00
committed by GitHub
parent ba99214417
commit b98c65cb36

View File

@@ -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]]