Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
0e9c5f9
feat: add pagination interfaces
ricellis Feb 7, 2025
dce16da
feat: base pager implementation
ricellis Feb 7, 2025
28172c5
fix: make pages immutable
ricellis Feb 26, 2025
6c94dc2
feat: _KeyPager overrides
ricellis Feb 24, 2025
7f64e1f
test: mock client update
ricellis Feb 25, 2025
b5cc8bc
test: _BasePager tests
ricellis Feb 25, 2025
152f6ce
fix: clean up
ricellis Mar 17, 2025
c804fac
feat: update default page size to 200
ricellis Mar 17, 2025
e42371b
feat: reusable get_all
ricellis Mar 18, 2025
b351813
feat: _KeyPager
ricellis Mar 17, 2025
3d735ad
feat: _BookmarkPager
ricellis Mar 19, 2025
8ccf123
refactor: pagination entry point factory API
ricellis Mar 28, 2025
5346aa2
refactor: renames
ricellis Apr 1, 2025
5f46857
test: updates for new entry point and renames
ricellis Apr 1, 2025
b22b71a
chore: remove TODO comment
ricellis Apr 4, 2025
06fdc02
feat: add pagination option validation
ricellis May 8, 2025
c100dc3
fix: use Sequence type for interfaces
ricellis May 14, 2025
6c61be8
fix: add missing type
ricellis May 14, 2025
437941f
fix: opts deletion error
ricellis May 14, 2025
7ec0d2d
fix: return from all docs _get_next_page_options
ricellis May 14, 2025
d838902
test: extract common page mocks
ricellis May 15, 2025
ab51397
test: add pagination operation tests
ricellis May 15, 2025
98a7688
test: share error code
ricellis May 16, 2025
be20499
test: add pagination error tests
ricellis May 16, 2025
7ce1c74
docs: pagination examples
Kornel-Toth Jun 30, 2025
aed55ca
fix: Optional[str] for python 3.9
Kornel-Toth Jul 1, 2025
ce40d49
test: itertools.batched fix for older versions
Kornel-Toth Jul 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ibmcloudant/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
from .couchdb_session_token_manager import CouchDbSessionTokenManager
from .cloudant_v1 import CloudantV1
from .features.changes_follower import ChangesFollower
from .features.pagination import Pager, PagerType, Pagination

# sdk-core's __construct_authenticator works with a long switch-case so monkey-patching is required
get_authenticator.__construct_authenticator = new_construct_authenticator
Expand Down
Loading