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

Bug Fix: Logic for getting all pages in _list() method of BaseModel #85

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

rushabhvaria
Copy link
Member

@rushabhvaria rushabhvaria commented Mar 23, 2023

Calling <entity>.get_all() would return a list of entities and a Bookmark model that returns a new entity_list on each Bookmark.get_next() call which performs API calls only when necessary to fetch a new set, and eventually returns all entities for the parent.

@rushabhvaria rushabhvaria self-assigned this Mar 23, 2023
@rushabhvaria rushabhvaria temporarily deployed to integ March 23, 2023 00:10 — with GitHub Actions Inactive
@rushabhvaria rushabhvaria temporarily deployed to integ March 23, 2023 00:10 — with GitHub Actions Inactive
@rushabhvaria rushabhvaria temporarily deployed to integ March 23, 2023 00:10 — with GitHub Actions Inactive
@rushabhvaria rushabhvaria requested a review from thucngyyen March 23, 2023 00:17
@rushabhvaria rushabhvaria merged commit 17cd898 into main Mar 23, 2023
@rushabhvaria rushabhvaria added the bug Something isn't working label Mar 23, 2023
@rushabhvaria rushabhvaria deleted the feature-fix/base-model-list branch March 23, 2023 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants