Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cursor abstraction over search result pagination #16

Merged
merged 3 commits into from
Jan 29, 2024
Merged

Conversation

jodal
Copy link
Member

@jodal jodal commented Jan 28, 2024

  • Add Cursor class to make result pagination easier
  • Add search and cursor usage to the quickstart guide
  • Update copyright notices

@jodal jodal force-pushed the pagination-cursor branch from 2224ed7 to a169d88 Compare January 28, 2024 17:39
src/brreg/enhetsregisteret/_pagination.py Show resolved Hide resolved
src/brreg/enhetsregisteret/_pagination.py Outdated Show resolved Hide resolved
src/brreg/enhetsregisteret/_pagination.py Outdated Show resolved Hide resolved
tests/enhetsregisteret/test_search_enhet.py Outdated Show resolved Hide resolved
tests/enhetsregisteret/test_search_enhet.py Outdated Show resolved Hide resolved
@jodal jodal force-pushed the pagination-cursor branch from a169d88 to edd80f0 Compare January 29, 2024 21:06
@jodal jodal enabled auto-merge January 29, 2024 21:06
@jodal jodal disabled auto-merge January 29, 2024 21:14
@jodal jodal merged commit 73edfc0 into main Jan 29, 2024
0 of 5 checks passed
@jodal jodal deleted the pagination-cursor branch January 29, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants