def _iter_records_helper(self, url: str) -> Iterable[Mapping[(str, Any)]]:
    res = self.session.get(url).json()
    for record in res['data']:
        yv = self._preprocess_record(record)
        if yv:
            (yield yv)
    next_url = res['links'].get('next')
    if next_url:
        (yield from self._iter_records_helper(next_url))
def _iter_records_helper(self, url: str) -> Iterable[Mapping[(str, Any)]]:
    res = self.session.get(url).json()
    for record in res['data']:
        yv = self._preprocess_record(record)
        if yv:
            (yield yv)
    next_url = res['links'].get('next')
    if next_url:
        (yield from self._iter_records_helper(next_url))