Skip to content

Conversation

@wmcnamee-coreweave
Copy link

This change allows users to pass --max-results and multiple requests will be made, using the "nextPageToken" from each response to automatically iterate through pages. This provides an enhanced user experience over the need to manually provide --paginate N:M and make multiple CLI calls

Additionally, as part of this change, some of the search functions were refactored to use functional options, which DRY's the code a bit (there was duplication between v2 and v3 functions)

@wmcnamee-coreweave wmcnamee-coreweave marked this pull request as ready for review December 8, 2025 04:59
@wmcnamee-coreweave wmcnamee-coreweave force-pushed the feat/automatic-pagination branch 6 times, most recently from 6874a1f to f8fccd9 Compare December 8, 2025 05:46
This change allows users to pass `--max-results` and multiple requests will be made, using the "nextPageToken" from each response to automatically iterate through pages. This provides an enhanced user experience over the need to manually provide `--paginate N:M` and make multiple CLI calls

Additionally, as part of this change, some of the search functions were refactored to use functional options, which DRY's the code a bit (there was duplication between v2 and v3 functions)
@wmcnamee-coreweave wmcnamee-coreweave force-pushed the feat/automatic-pagination branch from f8fccd9 to e45361e Compare December 8, 2025 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant