canvasapi icon indicating copy to clipboard operation
canvasapi copied to clipboard

Issue/539 typed paginated list

Open bennettscience opened this issue 3 months ago • 1 comments

Original PR (#539) from garth74:

This pull request makes two changes:

Adds type hinting to PaginatedList so that elements used in for-loops, list comprehensions, etc. are typed (more info). Adds negative indexing to PaginatedList.

Related Supports efforts of https://github.com/ucfopen/canvasapi/pull/435 and fixes https://github.com/ucfopen/canvasapi/issues/305 without preventing negative indexing all together (i.e., https://github.com/ucfopen/canvasapi/pull/306).

Updated to include upstream changes in develop since the original was opened in 2022.

bennettscience avatar May 15 '24 19:05 bennettscience