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

Make 'include_methods' work on non-callable properties #385

Romainpaulus opened this Issue Jan 22, 2015 · 2 comments


None yet
2 participants

Romainpaulus commented Jan 22, 2015

I have defined a few properties in my models with the @property decorator, and I would like to include them in the models representation. Unfortunately, include_columns only works for callable methods, and include_columns only works for database columns.
This would a small change in the flask-restless code, and I'm ready to submit a pull request, I just wanted to know if that's a reasonable change to make.


This comment has been minimized.


jfinkels commented Jan 22, 2015

Sounds reasonable to me.


This comment has been minimized.


jfinkels commented Jan 26, 2015

This is fixed by pull request #386.

@jfinkels jfinkels closed this Jan 26, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment