diff options
author | Max Wittig <max.wittig@siemens.com> | 2022-04-06 10:06:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-06 10:06:46 +0200 |
commit | 3b0806ed5ce135935d0362068400d41874e3f4a9 (patch) | |
tree | ba0c7b268e93615e0e8eec2b67b5be1eec6baa17 | |
parent | de8cfd9a0d394542750304c530888d1b869b3dfb (diff) | |
parent | 149d2446fcc79b31d3acde6e6d51adaf37cbb5d3 (diff) | |
download | gitlab-3b0806ed5ce135935d0362068400d41874e3f4a9.tar.gz |
Merge pull request #1964 from python-gitlab/fix/missing-commit-list-filters
fix(cli): add missing filters for project commit list
-rw-r--r-- | gitlab/v4/objects/commits.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gitlab/v4/objects/commits.py b/gitlab/v4/objects/commits.py index fa08ef0..5f13f5c 100644 --- a/gitlab/v4/objects/commits.py +++ b/gitlab/v4/objects/commits.py @@ -153,6 +153,16 @@ class ProjectCommitManager(RetrieveMixin, CreateMixin, RESTManager): required=("branch", "commit_message", "actions"), optional=("author_email", "author_name"), ) + _list_filters = ( + "ref_name", + "since", + "until", + "path", + "with_stats", + "first_parent", + "order", + "trailers", + ) def get( self, id: Union[str, int], lazy: bool = False, **kwargs: Any |