def METHOD_NAME(self, response: requests.Response) -> Optional[Mapping[str, Any]]:
    # in case we set a max_pages parameter we need to abort
    if self.max_pages and self._offset >= self.max_pages * self.page_size:
        return
    json_response = response.json()
    next_key = json_response.get("pagination", {}).get("next_key")
    if next_key:
        self._offset += self.page_size
        return {"pagination.offset": self._offset}