(self, data: dict[str, Any], path: list[str])
| 359 | ) |
| 360 | |
| 361 | def _get_graphql_pagination(self, data: dict[str, Any], path: list[str]) -> dict[str, Any]: |
| 362 | for item in path: |
| 363 | if item not in data: |
| 364 | raise RuntimeError(f"Pagination path {path} not found in data: {self.paths_of_dict(data)}") |
| 365 | data = data[item] |
| 366 | return data |
| 367 | |
| 368 | def _fetchNextPage(self) -> list[T]: |
| 369 | if self.is_rest: |
no test coverage detected