-
Notifications
You must be signed in to change notification settings - Fork 86
dj.Top restriction #1084
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
Closed
Closed
dj.Top restriction #1084
Changes from 57 commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
ece77d6
initial implementation attempt
A-Baji e32ed8f
subquery
A-Baji fb4dfc0
left and right hand restrictions
A-Baji b601439
remove distinct, limit=None
A-Baji 1340958
optional limit
A-Baji b67f1fe
recursive top subqueries
A-Baji 90dedd9
imeplement with `make_subquery`
A-Baji 2df9a46
apply top from self instead of params
A-Baji 07003b1
remove sorting params
A-Baji 3e518df
simplify make_subquery
A-Baji 32491a6
optional order_by
A-Baji 01be0ab
handle top in QE.restrict
A-Baji e86ca94
dataclass decorator
A-Baji f1b9511
Merge branch 'master' of https://github.com/datajoint/datajoint-pytho…
A-Baji 2a6ec2b
oops
A-Baji cc5720f
new top defaults and order by "KEY"
A-Baji 95124eb
docstring
A-Baji 0fca2cc
Changelog
A-Baji a816b6c
docstring
A-Baji 4f3ef26
use Top instead of dict
A-Baji 6547af8
simpler
A-Baji 722e061
optimize subqeury usage
A-Baji f21173c
unnecessary copy
A-Baji cade78c
remove list
A-Baji 297077c
simplify
A-Baji 74f9762
handle dj.U.aggr with no PK
A-Baji a5c4c24
type check in `post_init`
A-Baji bab1732
move None conversion to post_init
A-Baji 16da960
error msg
A-Baji dee963e
move error to post_init
A-Baji c4d0726
handle sorting in fetch.py
A-Baji 5520d0a
limit to some large number
A-Baji a520c40
remove re import
A-Baji b6fedc3
more tests
A-Baji e737b8e
remove unused logger
A-Baji f830467
remove offset warning and warning test
A-Baji 5fc96a3
better error test
A-Baji 0393f95
unused import
A-Baji 4257459
datajointerror -> typeerror
A-Baji ef61f42
simplify order_by typecheck
A-Baji 554f577
offset err msg
A-Baji 161c7d0
remove unused logger
A-Baji a48688a
move order_by list conversion to post_init
A-Baji 63ed6b8
handle edge case
A-Baji 778c6f9
redundant comment
A-Baji 7ea05cf
also handle "KEY desc"
A-Baji 0002cb3
fstrings
A-Baji 6268ebf
regex matching for empty pk case
A-Baji 37351db
use flatten_atribute_list
A-Baji c7020f7
simplify flatten calls
A-Baji 59279ba
formatting
A-Baji 163f8aa
Merge branch 'master' of https://github.com/datajoint/datajoint-pytho…
A-Baji 69c2e97
escape keywords
A-Baji 091e444
always escape
A-Baji 97d6e55
fix
A-Baji c9a8001
keywork pk test cases
A-Baji f25e1ba
Merge branch 'master' of https://github.com/datajoint/datajoint-pytho…
A-Baji 223ccdd
fix schema test
A-Baji b19910a
regex mismatch
A-Baji 330e520
Merge branch 'master' of https://github.com/datajoint/datajoint-pytho…
A-Baji ca4736a
documentation
A-Baji b355bc6
bump nginx
A-Baji 5bb8da4
fix
A-Baji f303549
more docs
A-Baji d6626a8
suggestiosn
A-Baji 96245f0
italicise
A-Baji d9aabf2
typo
A-Baji 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
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
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.
Uh oh!
There was an error while loading. Please reload this page.