Skip to content

name "RefResolver" is not defined #132

@ybbiubiubiu

Description

@ybbiubiubiu

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions