Repository navigation
v0.2.2
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()followsnext_cursorwhen a batch returns one, and falls back tonext_pageotherwise (#121). No built-in provider returns a cursor yet; this matters if you write your own adapter.
Known issue
lofindatasets still fail with an SSL handshake error when used throughClient(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