Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

name "RefResolver" is not defined #132

Open
ybbiubiubiu opened this issue Dec 3, 2018 · 2 comments
Open

name "RefResolver" is not defined #132

ybbiubiubiu opened this issue Dec 3, 2018 · 2 comments

Comments

@ybbiubiubiu
Copy link

I get a unkown probleme. :

Traceback (most recent call last):
File "/Users/yangbin/Desktop/swagger-py-codegen/example-app/demo/init.py", line 8, in
import v1
File "/Users/yangbin/Desktop/swagger-py-codegen/example-app/demo/v1/init.py", line 6, in
from .routes import routes
File "/Users/yangbin/Desktop/swagger-py-codegen/example-app/demo/v1/routes.py", line 11, in
from .api.pets import Pets
File "/Users/yangbin/Desktop/swagger-py-codegen/example-app/demo/v1/api/init.py", line 8, in
from ..validators import request_validate, response_filter
File "/Users/yangbin/Desktop/swagger-py-codegen/example-app/demo/v1/validators.py", line 24, in
from .schemas import (
File "/Users/yangbin/Desktop/swagger-py-codegen/example-app/demo/v1/schemas.py", line 31, in
resolver = RefResolver.from_schema(definitions)
NameError: name 'RefResolver' is not defined..

please tell me how i can solve this?

@KevinTao24
Copy link

have you solve it? I have the same problem

@ybbiubiubiu
Copy link
Author

have you solve it? I have the same problem

nope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants