MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / _get_graphql_pagination

Method _get_graphql_pagination

github/PaginatedList.py:361–366  ·  view source on GitHub ↗
(self, data: dict[str, Any], path: list[str])

Source from the content-addressed store, hash-verified

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:

Callers 2

totalCountMethod · 0.95
_fetchNextPageMethod · 0.95

Calls 1

paths_of_dictMethod · 0.95

Tested by

no test coverage detected