summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-05-29 07:52:31 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2018-05-29 07:52:31 +0200
commit51718ea7fb566d8ebeb310520c8e6557e19152e0 (patch)
treecadaabbb1c731d7256e34b9db8fce55b8fae6bcf
parent23329049110d0514e497704021a5d20ebc56d31e (diff)
downloadgitlab-51718ea7fb566d8ebeb310520c8e6557e19152e0.tar.gz
Add pipeline listing filters
-rw-r--r--gitlab/v4/objects.py2
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):