Skip to content

Commit

Permalink
Merge pull request #13 from predicthq/no-offset-limit
Browse files Browse the repository at this point in the history
Remove max value from offset and limit parameters
  • Loading branch information
braedon committed Aug 8, 2017
2 parents a356101 + b3a3ccb commit 93d1a1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions predicthq/endpoints/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,12 @@ class Options:

class LimitMixin(Model):

limit = IntType(min_value=1, max_value=200)
limit = IntType(min_value=1)


class OffsetMixin(Model):

offset = IntType(min_value=0, max_value=50)
offset = IntType(min_value=0)


class PaginatedMixin(LimitMixin, OffsetMixin):
Expand Down

0 comments on commit 93d1a1a

Please sign in to comment.