From 052a01ae46ac6eb101ac52e24d3ec85002a15104 Mon Sep 17 00:00:00 2001 From: Lucidiot Date: Fri, 26 Apr 2019 08:22:52 +0200 Subject: [PATCH] Fix pagination with offset --- usda/pagination.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usda/pagination.py b/usda/pagination.py index c06bee5..07c48ee 100644 --- a/usda/pagination.py +++ b/usda/pagination.py @@ -62,7 +62,7 @@ class RawPaginator(object): :type: dict(str, object) """ - self.current_offset = 0 + self.current_offset = request_kwargs.get('offset', 0) """ Offset of the current page; the first index of the item that is returned in the current page.