Skip to content

fix(idvs): return the pagination cursor from the IDV list methods - #77

Merged
vdavez merged 1 commit into
mainfrom
fix/idv-cursor
Oct 2, 2026
Merged

vdavez merged 1 commit into
mainfrom
fix/idv-cursor

Conversation

@makegov-mark

@makegov-mark makegov-mark Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

What

list_idvs(), list_idv_awards(), list_idv_child_idvs() and list_idv_transactions() now pass the API's cursor through to the PaginatedResponse they return.

Why

All four accepted a cursor argument but dropped the one the API sent back, so response.cursor was always None. Any caller that follows the cursor (as the contracts, OTA and OTIDV methods already allow) stopped after the first page of at most 100 records. Those four were the only list_* methods with this gap.

Testing

  • New parametrized test_idv_list_methods_return_cursor covers all four methods; it fails on all four against the pre-fix client and passes with the fix.
  • uv run pytest tests -m "not integration": 463 passed.

Next steps

A patch release (1.11.1) so downstream consumers can pick it up.

🤖 Generated with Claude Code

list_idvs, list_idv_awards, list_idv_child_idvs and list_idv_transactions built their PaginatedResponse without the API's cursor, so response.cursor was always None and any caller following it stopped after the first page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vdavez
vdavez marked this pull request as ready for review October 2, 2026 18:48
@vdavez
vdavez merged commit 66f226d into main Oct 2, 2026
11 checks passed
@makegov-mark makegov-mark Bot mentioned this pull request Oct 2, 2026
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