Skip to content

Conversation

@cyc60
Copy link
Contributor

@cyc60 cyc60 commented Jan 13, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 13, 2026 13:10
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds cursor-based pagination support to the graph client, allowing queries to use either the existing offset-based pagination or the new cursor-based pagination method.

Changes:

  • Added cursor_pagination parameter to fetch_pages method
  • Implemented cursor-based pagination logic using lastID parameter
  • Updated version to v0.12.1

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
sw_utils/graph/client.py Added cursor-based pagination support with conditional logic for offset vs cursor pagination
pyproject.toml Bumped version from v0.12.0 to v0.12.1

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cyc60 cyc60 merged commit 2db244e into master Jan 13, 2026
3 checks passed
@cyc60 cyc60 deleted the cursor-pagination branch January 13, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants