Skip to content

chore: remove unused ALLOWED_KEYSET_ENDPOINTS variable #1300

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

Merged
merged 1 commit into from
Feb 16, 2021
Merged

chore: remove unused ALLOWED_KEYSET_ENDPOINTS variable #1300

merged 1 commit into from
Feb 16, 2021

Conversation

JohnVillalovos
Copy link
Member

The variable ALLOWED_KEYSET_ENDPOINTS was added in commit
f86ef3b.

Then most of that commit was removed in commit
e71fe16, but ALLOWED_KEYSET_ENDPOINTS
was missed.

The variable ALLOWED_KEYSET_ENDPOINTS was added in commit
f86ef3b.

Then most of that commit was removed in commit
e71fe16, but ALLOWED_KEYSET_ENDPOINTS
was missed.
@nejch
Copy link
Member

nejch commented Feb 16, 2021

I think this can go for now but for context, it was meant to follow endpoints where GitLab supports keyset pagination but it seems they're so far still stuck with only /projects (https://docs.gitlab.com/ee/api/README.html#keyset-based-pagination) and it broke some people's workflows initially due to missing headers.

@max-wittig maybe we can re-add this e.g.to gitlab.const when https://github.com/python-gitlab/python-gitlab/issues?q=is%3Aissue+is%3Aopen+keyset are revisited 😄

@nejch nejch merged commit bec2094 into python-gitlab:master Feb 16, 2021
@max-wittig
Copy link
Member

They clearly stated that their not gonna re-add X-Total-Items. Maybe we just have to document this, when you switch the default.

@JohnVillalovos JohnVillalovos deleted the remove_cruft branch February 24, 2021 01:07
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