code: def _parse_paginated_members(self, direction="children"):
          
  
          page = self._last_page_parsed[direction]
          if not page:
              page = 1
          else:
              page = int(page)
          while page:
              if page > 1:
                  response = self._resolver.endpoint.get_collection(
                      collection_id=self.id,
                      page=page,
                      nav=direction
                  )
              else:
                  response = self._resolver.endpoint.get_collection(
                      collection_id=self.id,
                      nav=direction
                  )
              response.raise_for_status()
  
              data = response.json()
              data = expand(data)[0]
  
              if direction == "children":
                  self.children.update({
                      o.id: o
                      for o in type(self).parse_member(
                          obj=data, collection=self, direction=direction, resolver=self._resolver
                      )
                  })
              else:
                  self.parents.update({
                      o
                      for o in type(self).parse_member(
                          obj=data, collection=self, direction=direction, resolver=self._resolver
                      )
                  })
              self._last_page_parsed[direction] = page
  
              page = None
              if "https://www.w3.org/ns/hydra/core#view" in data:
                  if "https://www.w3.org/ns/hydra/core#next" in data["https://www.w3.org/ns/hydra/core#view"][0]:
                      page = int(_re_page.findall(
                          data["https://www.w3.org/ns/hydra/core#view"]
                              [0]["https://www.w3.org/ns/hydra/core#next"]
                              [0]["@value"]
                      )[0])
  
          self._parsed[direction] = True
docs: Launch parsing of children