1010
1111
1212class Pagination (BaseModel ):
13- """Pagination information for the response"""
13+ """
14+ Pagination information for the response.
15+ Token format: "NEXT_PAGE/TOTAL_PAGES/TOTAL_COUNT" (e.g., "2/40/1000").
16+ Use -1 for unknown values (e.g., "2/-1/-1" when totals unavailable).
17+ Empty token means no more pages.
18+ """
1419
1520 next_token : Optional [str ] = FieldInfo (alias = "nextToken" , default = None )
1621 """Token passed for retrieving the next set of results.
@@ -29,10 +34,18 @@ class Repository(BaseModel):
2934
3035class RunnerSearchRepositoriesResponse (BaseModel ):
3136 last_page : Optional [int ] = FieldInfo (alias = "lastPage" , default = None )
32- """Last page in the responses"""
37+ """Deprecated: Use pagination token instead.
38+
39+ Total pages can be extracted from token.
40+ """
3341
3442 pagination : Optional [Pagination ] = None
35- """Pagination information for the response"""
43+ """
44+ Pagination information for the response. Token format:
45+ "NEXT_PAGE/TOTAL_PAGES/TOTAL_COUNT" (e.g., "2/40/1000"). Use -1 for unknown
46+ values (e.g., "2/-1/-1" when totals unavailable). Empty token means no more
47+ pages.
48+ """
3649
3750 repositories : Optional [List [Repository ]] = None
3851 """List of repositories matching the search criteria"""
0 commit comments