1
0
Fork 0
mirror of https://github.com/correl/tornado-openapi3.git synced 2025-04-01 19:08:03 -09:00

Ignore types on tornado includes

Older versions of Tornado supported by this library lack type annotations.
This commit is contained in:
Correl Roush 2021-02-26 12:04:47 -05:00
parent 8b243ee565
commit 3b3085652d
4 changed files with 8 additions and 7 deletions

View file

@ -2,9 +2,9 @@ import json
import unittest.mock
from openapi_core.exceptions import OpenAPIError # type: ignore
import tornado.httpclient
import tornado.web
import tornado.testing
import tornado.httpclient # type: ignore
import tornado.web # type: ignore
import tornado.testing # type: ignore
from tornado_openapi3.handler import OpenAPIRequestHandler

View file

@ -1,6 +1,7 @@
import json
from openapi_core.schema.responses.exceptions import InvalidResponse # type: ignore
import tornado.web
import tornado.web # type: ignore
from tornado_openapi3.handler import OpenAPIRequestHandler
from tornado_openapi3.testing import AsyncOpenAPITestCase

View file

@ -13,7 +13,7 @@ from openapi_core.templating.paths.exceptions import ( # type: ignore
)
from openapi_core.unmarshalling.schemas.exceptions import ValidateError # type: ignore
from openapi_core.validation.exceptions import InvalidSecurity # type: ignore
import tornado.web
import tornado.web # type: ignore
from tornado_openapi3.requests import RequestValidator

View file

@ -1,7 +1,7 @@
from typing import Any
import tornado.httpclient
import tornado.testing
import tornado.httpclient # type: ignore
import tornado.testing # type: ignore
from openapi_core import create_spec # type: ignore
from tornado_openapi3.responses import ResponseValidator