Skip to content

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 17 Apr 12:32
· 597 commits to main since this release

kpubdata 0.2.2 is a small follow-up to 0.2.1's paging change: list_all() now understands cursor-based paging as well as page numbers.

pip install -U "kpubdata==0.2.2"

Added

  • Dataset.list_all() follows next_cursor when a batch returns one, and falls back to next_page otherwise (#121). No built-in provider returns a cursor yet; this matters if you write your own adapter.

Known issue

  • lofin datasets still fail with an SSL handshake error when used through Client (since 0.2.1). Fixed in 0.2.3 (#122, #124).

For contributors

The paging contract for adapters, including the best-effort len(items) == page_size heuristic datago uses when a response has no total count, is documented in ARCHITECTURE.md and PROVIDER_ADAPTER_CONTRACT.md (#121).

Full changelog: v0.2.1...v0.2.2