diff --git a/tests/test_requests.py b/tests/test_requests.py index 8c26ac8..dab58ed 100644 --- a/tests/test_requests.py +++ b/tests/test_requests.py @@ -16,9 +16,9 @@ from openapi_core.validation.request.datatypes import ( # type: ignore OpenAPIRequest, ) from openapi_core.validation.request.validators import RequestValidator # type: ignore -from tornado.httputil import HTTPHeaders, HTTPServerRequest -from tornado.testing import AsyncHTTPTestCase -from tornado.web import Application, RequestHandler +from tornado.httputil import HTTPHeaders, HTTPServerRequest # type: ignore +from tornado.testing import AsyncHTTPTestCase # type: ignore +from tornado.web import Application, RequestHandler # type: ignore from werkzeug.datastructures import ImmutableMultiDict from tornado_openapi3 import TornadoRequestFactory diff --git a/tornado_openapi3/requests.py b/tornado_openapi3/requests.py index 87e35a9..89809ee 100644 --- a/tornado_openapi3/requests.py +++ b/tornado_openapi3/requests.py @@ -5,7 +5,7 @@ from openapi_core.validation.request.datatypes import ( # type: ignore OpenAPIRequest, ) from openapi_core.validation.request import validators # type: ignore -from tornado.httputil import HTTPServerRequest +from tornado.httputil import HTTPServerRequest # type: ignore from werkzeug.datastructures import ImmutableMultiDict, Headers