-
Notifications
You must be signed in to change notification settings - Fork 50
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
Impelement get_homogeneous_pages. #87
Closed
Closed
Changes from all commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
ff21c99
Impelement get_homogeneous_pages.
mattalbr eff5d52
Check in unit test for multi-page lookup.
mattalbr d37132b
Fix missing symbols.
mattalbr df7466c
Fix flake8 test_paging.py
mattalbr 4843e68
Export get_homogeneous_pages.
mattalbr 9985e4e
Actually import get_homogeneous_pages.
mattalbr bd486e1
Add PageRequest.
mattalbr e534243
Fix bad symbol.
mattalbr 5e6fd6a
Extend gathered.
mattalbr f5075c3
Use Union instead of |.
mattalbr 9aae97f
Use Tuple instead of tuple.
mattalbr cbefa30
Use Book instead of Animal.
mattalbr bb86b7e
More python 3.7 and fix wrong symbol name.
mattalbr cdd0fc2
Improve tests.
mattalbr 2af1ca2
Remove unused db session.
mattalbr 76c2939
Exclude sqlite.
mattalbr 6867d83
s/dburl/no_sqlite_url
mattalbr 19ff009
s/url/dburl
mattalbr abdef8a
Fix for loop variable.
mattalbr a5514cf
Per page should be at least 1.
mattalbr b7a34f5
Fix UNION ALL ordering which isn't guaranteed.
mattalbr 2f4f4bd
NamedTuple is immutable.
mattalbr 3909554
Trailing whitespace.
mattalbr 3393641
Use uo instead of element to get ordering right for ROW_NUMBER.
mattalbr f985063
Use deque for extendleft functionality.
mattalbr e5feac2
Debugging info.
mattalbr 46248d2
Testing.
mattalbr c5a606e
Add before preparing paging.
mattalbr 3ccdd3e
author_id is nullable which doesn't work with paging.
mattalbr 0e7cc0b
Actually end the test on success.
mattalbr 1378936
Add a test for fetching columns.
mattalbr b610c69
Make test homogeneous.
mattalbr d46719f
Move page_identifier inside prepare_paging.
mattalbr bdac930
Add select_homogeneous_pages and refactor tests.
mattalbr 1127c0f
flake8 fixes.
mattalbr 24943ea
More flake8.
mattalbr 5bb4c5d
Convert deque to list.
mattalbr 29985c4
Test select_homogeneous_pages.
mattalbr 87a6a08
Flake 8 violations.
mattalbr 993e45f
Fix default.
mattalbr 23ec6da
non-default before default.
mattalbr aff47d8
Add page_identifier
mattalbr dfee9dd
filter -> where.
mattalbr 403a397
Add debugging.
mattalbr ead71a3
Fix select statements.
mattalbr 685fca4
Go back to Book orm.
mattalbr ccb3e91
add a print statement.
mattalbr 4f62fba
Start with the simplest test first.
mattalbr 43694f0
flake8
mattalbr 34c41b2
Print statement caused exception.
mattalbr db47749
Don't double order single selects.
mattalbr 90e9ae7
Fix test_core..._empty_queries.
mattalbr 8ecb334
flake8.
mattalbr 6c33a0f
One more test.
mattalbr e230d1a
Try using sub-select for key generation.
mattalbr 0917ceb
See if individualized selected works for select(Book)
mattalbr 719440c
Try a different way of forming the union.
mattalbr e192516
flake8
mattalbr 6b596a5
Backtrack on testing, plus add a more fundamental test.
mattalbr 806ef9d
Add a test.
mattalbr fa5fd49
Only execute one subselect as necessary.
mattalbr 1b9133b
flake8
mattalbr 1909b8e
Clean up single query select.
mattalbr 1af24f8
Uncomment test to send Anthony error.
mattalbr 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 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 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 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
Oops, something went wrong.
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.
CI fails at flake8 with a bunch of undefined names - looks like you've forgotten some imports?