diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2018-05-29 07:52:31 +0200 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2018-05-29 07:52:31 +0200 |
commit | 51718ea7fb566d8ebeb310520c8e6557e19152e0 (patch) | |
tree | cadaabbb1c731d7256e34b9db8fce55b8fae6bcf | |
parent | 23329049110d0514e497704021a5d20ebc56d31e (diff) | |
download | gitlab-51718ea7fb566d8ebeb310520c8e6557e19152e0.tar.gz |
Add pipeline listing filters
-rw-r--r-- | gitlab/v4/objects.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index 8658520..262e00e 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -2224,6 +2224,8 @@ class ProjectPipelineManager(RetrieveMixin, CreateMixin, RESTManager): _path = '/projects/%(project_id)s/pipelines' _obj_cls = ProjectPipeline _from_parent_attrs = {'project_id': 'id'} + _list_filters = ('scope', 'status', 'ref', 'sha', 'yaml_errors', 'name', + 'username', 'order_by', 'sort') _create_attrs = (('ref', ), tuple()) def create(self, data, **kwargs): |