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

PaginatedList redux #114

Open
jessemcbride opened this issue Nov 27, 2017 · 3 comments
Open

PaginatedList redux #114

jessemcbride opened this issue Nov 27, 2017 · 3 comments
Assignees

Comments

@jessemcbride
Copy link
Member

Modify PaginatedList to provide support for special methods on some CanvasObject types:

  • len
  • negative indexing
@jessemcbride jessemcbride self-assigned this Nov 27, 2017
@jessemcbride jessemcbride added this to the CanvasAPI v0.8.0 milestone Nov 27, 2017
@Thetwam Thetwam modified the milestone: CanvasAPI v0.8.0 Jan 2, 2018
onomou added a commit to onomou/canvasapi that referenced this issue Apr 8, 2019
@Thetwam
Copy link
Member

Thetwam commented Jul 10, 2019

See discussion on #237 (review) for limitations on implementation

@jessemcbride
Copy link
Member Author

See https://gist.github.com/jessemcbride/133312e5af9e6eb1de7d5b77dc9b7ba9 for implementation scaffolding.

This was referenced Nov 13, 2019
@jonespm
Copy link
Contributor

jonespm commented Mar 25, 2020

Was this still being worked on? I think just knowing the number of pages and items in a list, which is often available from the last link and available via a calculation of per_page would be really useful for api calls that have tons of pages. The scaffolding example is kind of how I was thinking this would go. I'm less concerned about the negative index than just being able to estimate how long processing will take. Thanks for adding this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants