Browse Source

🐛 Use proper import for Request -- fixes #492 (#493)

pull/502/head
Kamal Gill 6 years ago
committed by Sebastián Ramírez
parent
commit
4642f63a1e
  1. 2
      fastapi/exceptions.py

2
fastapi/exceptions.py

@ -2,8 +2,8 @@ from typing import Any, Sequence
from pydantic import ValidationError from pydantic import ValidationError
from pydantic.error_wrappers import ErrorList from pydantic.error_wrappers import ErrorList
from requests import Request
from starlette.exceptions import HTTPException as StarletteHTTPException from starlette.exceptions import HTTPException as StarletteHTTPException
from starlette.requests import Request
from starlette.websockets import WebSocket from starlette.websockets import WebSocket

Loading…
Cancel
Save