Skip to content

GraphQL needs to support pagination #669

@jonespm

Description

@jonespm

Describe the bug

An upcoming (or recent depending on when you read this) change coming to Canvas is going to impose per page limits to GraphQL requests, previously unlimited. GraphQL call isn't paginated in this code so it likely won't work.

To Reproduce

Steps to reproduce the behavior:

  1. Need to setup CanvasAPI to run a GraphQL call
  2. Will fill in more details later once it's tested but any call that returns more than 10 results (like all courses for a term) would likely only return the first page.

Expected behavior

Return a paginated list so the user can page through it.

Environment information

  • Python version 3.12
  • CanvasAPI version 3.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions