From 17d935416033778c06ed89cbd9fb6990bd20d47c Mon Sep 17 00:00:00 2001 From: Cyril Jouve Date: Thu, 7 Jun 2018 00:41:50 +0200 Subject: projectpipelinejob was defined twice --- gitlab/v4/objects.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'gitlab/v4/objects.py') diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index 4c2ec45..13c9995 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -2248,7 +2248,7 @@ class ProjectPipelineJob(ProjectJob): pass -class ProjectPipelineJobsManager(ListMixin, RESTManager): +class ProjectPipelineJobManager(ListMixin, RESTManager): _path = '/projects/%(project_id)s/pipelines/%(pipeline_id)s/jobs' _obj_cls = ProjectPipelineJob _from_parent_attrs = {'project_id': 'project_id', @@ -2364,16 +2364,6 @@ class ProjectPipelineScheduleManager(CRUDMixin, RESTManager): ('description', 'ref', 'cron', 'cron_timezone', 'active')) -class ProjectPipelineJob(ProjectJob): - pass - - -class ProjectPipelineJobManager(ListMixin, RESTManager): - _path = '/projects/%(project_id)s/pipelines/%(pipeline_id)s/jobs' - _obj_cls = ProjectPipelineJob - _from_parent_attrs = {'project_id': 'project_id', 'pipeline_id': 'id'} - - class ProjectSnippetNoteAwardEmoji(ObjectDeleteMixin, RESTObject): pass -- cgit v1.2.1