8000 fix(cli): add missing filters for project commit list · python-gitlab/python-gitlab@149d244 · GitHub
[go: up one dir, main page]

Skip to content

Commit 149d244

Browse files
committed
fix(cli): add missing filters for project commit list
1 parent 19ab07d commit 149d244

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

gitlab/v4/objects/commits.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,16 @@ class ProjectCommitManager(RetrieveMixin, CreateMixin, RESTManager):
153153
required=("branch", "commit_message", "actions"),
154154
optional=("author_email", "author_name"),
155155
)
156+
_list_filters = (
157+
"ref_name",
158+
"since",
159+
"until",
160+
"path",
161+
"with_stats",
162+
"first_parent",
163+
"order",
164+
"trailers",
165+
)
156166

157167
def get(
158168
self, id: Union[str, int], lazy: bool = False, **kwargs: Any

0 commit comments

Comments
 (0)
0