From b3a3ccbe2d9c22791d3c86ab0567c83268765057 Mon Sep 17 00:00:00 2001 From: Braedon Vickers Date: Tue, 8 Aug 2017 13:53:05 +1200 Subject: [PATCH] Remove max value from offset and limit parameters The actual maximums for these params vary by plan/subscription, so to support all don't try and validate against a limit. --- predicthq/endpoints/schemas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/predicthq/endpoints/schemas.py b/predicthq/endpoints/schemas.py index 308b2a1..467f41c 100644 --- a/predicthq/endpoints/schemas.py +++ b/predicthq/endpoints/schemas.py @@ -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):