Closed BadReese closed 3 years ago
Describe the bug can not import openapi2_blueprint from sanic_openapi, why?
Screenshots from sanic_openapi import openapi2_blueprint ImportError: cannot import name 'openapi2_blueprint' from 'sanic_openapi' (/Users//miniconda3/envs/demo/lib/python3.8/site-packages/sanic_openapi/__init__.py)
from sanic_openapi import openapi2_blueprint ImportError: cannot import name 'openapi2_blueprint' from 'sanic_openapi' (/Users//miniconda3/envs/demo/lib/python3.8/site-packages/sanic_openapi/__init__.py)
To Reproduce Your code snippet or steps to reproduce the bug.
Expected behavior A clear and concise description of what you expected to happen.
Environment (please complete the following information):
Additional context Add any other context about the problem here. This might be how to fix this bug or some hint to fix it.
There's a bunch of changes that need to be released. Probably this weekend.
from .openapi2 import doc, openapi2_blueprint
ModuleNotFoundError: No module named 'sanic_openapi.openapi2'
Describe the bug can not import openapi2_blueprint from sanic_openapi, why?
Screenshots
from sanic_openapi import openapi2_blueprint ImportError: cannot import name 'openapi2_blueprint' from 'sanic_openapi' (/Users//miniconda3/envs/demo/lib/python3.8/site-packages/sanic_openapi/__init__.py)
To Reproduce Your code snippet or steps to reproduce the bug.
Expected behavior A clear and concise description of what you expected to happen.
Environment (please complete the following information):
Additional context Add any other context about the problem here. This might be how to fix this bug or some hint to fix it.