-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
moved expandable_fields to meta class #6198
moved expandable_fields to meta class #6198
Conversation
can anyone tell me why lint is failing? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should fix the lint issue :)
lint is failing because of the space and newline issues? @saadmk11 |
I think so. You can see the error log from here https://travis-ci.org/readthedocs/readthedocs.org/jobs/587389577 |
2b8bbc1
to
6402c26
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution, but you are only refactoring the expandable_fields attribute. It should be moved to the Meta class.
Sorry I do not know what is meta class can you provide me with some link that can help me to learn 'meta class'. Thanks. |
@Iamshankhadeep you should check the docs for django drf flex fields https://github.com/rsinger86/drf-flex-fields |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@stsewd dont I have to rebase this pull request? |
@Iamshankhadeep no, it's fine. |
fixes #6159