Skip to content

Commit 6e55aac

Browse files
Fix var name
1 parent 1e056b6 commit 6e55aac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

seam/paginator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ def __init__(self, request: Callable, params: Dict[str, Any] = None):
3636

3737
def _cache_pagination(self, response: Dict[str, Any], page_key: str) -> None:
3838
"""Extracts pagination dict from response, creates Pagination object, and caches it."""
39-
pagination_dict = response.get("pagination", {})
39+
pagination = response.get("pagination", {})
4040

41-
if isinstance(pagination_dict, dict):
41+
if isinstance(pagination, dict):
4242
self._pagination_cache[page_key] = Pagination(
4343
has_next_page=pagination.get("has_next_page", False),
4444
next_page_cursor=pagination.get("next_page_cursor"),

0 commit comments

Comments
 (0)