diff --git a/fastapi/responses.py b/fastapi/responses.py index 011c54427..af98cf4e3 100644 --- a/fastapi/responses.py +++ b/fastapi/responses.py @@ -1,16 +1,15 @@ from typing import Any from starlette.responses import ( # noqa: F401 - FileResponse, # noqa: F401 - HTMLResponse, # noqa: F401 - JSONResponse, # noqa: F401 - PlainTextResponse, # noqa: F401 - RedirectResponse, # noqa: F401 - Response, # noqa: F401 - StreamingResponse, # noqa: F401 + FileResponse, # noqa: F401 + HTMLResponse, # noqa: F401 + JSONResponse, # noqa: F401 + PlainTextResponse, # noqa: F401 + RedirectResponse, # noqa: F401 + Response, # noqa: F401 + StreamingResponse, # noqa: F401 ) - try: import ujson except ImportError: # pragma: nocover