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

Enhancement to use model on SQLAlchemy #96

Open
gdoumenc opened this issue Mar 24, 2016 · 1 comment
Open

Enhancement to use model on SQLAlchemy #96

gdoumenc opened this issue Mar 24, 2016 · 1 comment

Comments

@gdoumenc
Copy link

I want to use swagger.model with SQLAlchemy.

In this case all properties should be defined not from init but by a callable 'resource_sqlalchemy_fields' which will return all properties.

Before doing it as a pull, I wanted to know if something was already done (I saw an old issue closed due to lack of activity) and if it is a good idea.

If so I can do a pull request...

@sobolevn
Copy link
Contributor

well, yes. we are migrating for a new version. it is the current task for now, see: https://github.com/flask-restful-swagger/flask-restful-swagger/blob/version-1.0.0/flask_restful_swagger/swagger.py#L158

looking forward you PR! thanks!

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