Skip to content

Commit

Permalink
Issue #569 ensures users can be traversed with incremental endpoint w…
Browse files Browse the repository at this point in the history
…ith cursor pagination (#597)
  • Loading branch information
cryptomail committed Oct 10, 2023
1 parent 99aa262 commit a712665
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions requirements.dev
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ betamax>=0.8.1
betamax-serializers>=0.2.0
nose>=1.3.7
httplib2
google-auth==2.23.0; python_version != '3.5' and python_version!='3.6'
google-api-python-client; python_version != '3.5' and python_version!='3.6'
pytest
ruff; python_version > '3.6'
2 changes: 2 additions & 0 deletions zenpy/lib/endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,8 @@ class EndpointFactory(object):
users.deleted = PrimaryEndpoint("deleted_users")
users.groups = SecondaryEndpoint('users/%(id)s/groups.json')
users.incremental = IncrementalEndpoint('incremental/users.json')
users.incremental.cursor = PrimaryEndpoint(
'incremental/users/cursor.json')
users.incremental.cursor_start = IncrementalEndpoint(
'incremental/users/cursor.json')
users.me = PrimaryEndpoint('users/me')
Expand Down

0 comments on commit a712665

Please sign in to comment.