Skip to content

Commit 1340958

Browse files
committed
optional limit
1 parent b601439 commit 1340958

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

datajoint/condition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def append(self, restriction):
6262

6363

6464
class Top:
65-
def __init__(self, order_by, limit, offset=0):
65+
def __init__(self, order_by, limit=None, offset=0):
6666
self.order_by = order_by
6767
self.limit = limit
6868
self.offset = offset

0 commit comments

Comments
 (0)