#764 - Support cursor-based pagination from NetBox 4.6 - #787
Conversation
|
@claude /review Only report on issues of potential concern; we don't need commentary on anything that doesn't require further consideration. |
|
Claude finished @arthanson's task in 2m 23s —— View job Code Review
Three concerns worth addressing: 1. Network exceptions not caught in version probe (
|
|
claude review issues fixed. |
|
@claude /review Only report on issues of potential concern; we don't need commentary on anything that doesn't require further consideration. |
|
Claude finished @jeremystretch's task in 3m 4s —— View job Code Review
Two remaining concerns: 1.
|
jeremystretch
left a comment
There was a problem hiding this comment.
Approved with two minor suggestions.
|
Added the two changes, so needs re-review. |
Fixes: #764
Adds opt-in cursor-based pagination for .all() and .filter(). NetBox 4.6 introduced cursor pagination as an alternative to offset pagination: instead of skipping a growing number of rows with offset, the server pages forward using the primary key as a cursor, which performs significantly better on very large result sets.
Usage
pagination defaults to "offset", so existing behavior is unchanged.
Below is a script that shows the new pagination, will need to update the token.
Manual verification script