-
Notifications
You must be signed in to change notification settings - Fork 301
Issue 430: pagination enhancement #434
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
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
4507ab9
Add configurable pagination query parameter names.
n2ygk 6589946
update changelog
n2ygk 9403a07
touch up changelog
n2ygk fcdfa90
Merge remote-tracking branch 'upstream/master' into issue-430
n2ygk 0b136eb
Revert "Add configurable pagination query parameter names."
n2ygk 863feeb
add JsonApiPageNumberPagination and JsonApiLimitOffsetPagination
n2ygk 2b437dc
remove deprecated pagination class documentation
n2ygk 0439081
make JsonApi* paginators the base class and add deprecation warnings
n2ygk 7c53996
flake8
n2ygk 8569fd9
changelog; don't forget super init
n2ygk ab7fb38
add tests for pagination deprecation warnings
n2ygk f5195a9
remove trivial test that fails for no apparent reason under py27
n2ygk 284a3d6
xfail py27 test_pagination
n2ygk 31fe58b
flake8 tests missing from tox (#436)
n2ygk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
There is a pytest feature called xfail. See https://docs.pytest.org/en/latest/skipping.html
So instead of commenting this out you can mark it as
@pytest.mark.xfail
and still leave you comment withTODO
.This is that
CI
doesn't fail even when test is not successful but it still counts towards coverage.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.
done. Got caught by flake8 again (#436 will address this if and when done)