diff --git a/fastapi/types.py b/fastapi/types.py index 127a3c52b..890eb430e 100644 --- a/fastapi/types.py +++ b/fastapi/types.py @@ -1,6 +1,17 @@ import types from enum import Enum -from typing import Any, Callable, Dict, Generic, Optional, Set, Tuple, Type, TypeVar, Union +from typing import ( + Any, + Callable, + Dict, + Generic, + Optional, + Set, + Tuple, + Type, + TypeVar, + Union, +) from pydantic import BaseModel