Thanks to visit codestin.com
Credit goes to GitHub.com

Skip to content

Conversation

@malmor
Copy link
Contributor

@malmor malmor commented Jan 29, 2026

This commits adds to the work done in 1. After reading the docs 2 again, you must define order_by when using sort, so this commits adds this as an additional filter.

Changes

Added support for order_by filter when fetching runner jobs.

Documentation and testing

Please consider whether this PR needs documentation and tests. This is not required, but highly appreciated:

This commits adds to the work done in [1]. After reading the
docs [2] again, you must define order_by when using sort, so
this commits adds this as an additional filter.

[1]: python-gitlab#3336
[2]: https://docs.gitlab.com/api/runners/#list-all-jobs-processed-by-a-runner

Signed-off-by: malmor <[email protected]>
@malmor
Copy link
Contributor Author

malmor commented Jan 29, 2026

Hey @nejch,
I did not read the docs carefully enough - yesterday's PR only works in combination with a second filter 🤦

Sort jobs in asc or desc order (default: desc). If sort is specified, order_by must be specified as well

Sorry for the additional effort!

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.

1 participant