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

AttributeError: module 'eve_swagger.swagger' has no attribute 'name' #115

Open
virtualvinodh opened this issue Dec 3, 2020 · 2 comments
Labels

Comments

@virtualvinodh
Copy link

Hi,

I am trying to use eve-swagger with my eve-SQLAlchemy project. When I try to run the project, I get the following error.

line 941, in register_blueprint if blueprint.name in self.blueprints: , line 941, in register_blueprint AttributeError: module 'eve_swagger.swagger' has no attribute 'name'

Eve-Swagger v. 0.1.3
Eve-Sqlalchemy v. 0.7.1
Eve v. 0.7.10

I can see that this issue has been fixed.

#3

I'm not sure why I'm still getting it though.

V

@effigies
Copy link

Seems that the API changed, and now you should do:

from eve_swagger import get_swagger_blueprint

...

swagger = get_swagger_blueprint()
app.register_blueprint(swagger)

Dealt with this in nipreps/mriqcwebapi#47.

@stale
Copy link

stale bot commented Apr 16, 2022

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants