diff options
Diffstat (limited to 'ick2/projectapi.py')
-rw-r--r-- | ick2/projectapi.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ick2/projectapi.py b/ick2/projectapi.py index 89cad8f..b0c9da1 100644 --- a/ick2/projectapi.py +++ b/ick2/projectapi.py @@ -48,7 +48,7 @@ class ProjectAPI(ick2.ResourceApiBase): }, ] - def get_pipeline(self, project, pipeline): + def get_pipeline(self, project, pipeline, **kwargs): p = self._state.get_resource(self._type_name, project) for pl in p['pipelines']: if pl['name'] == pipeline: @@ -58,7 +58,7 @@ class ProjectAPI(ick2.ResourceApiBase): raise ick2.NotFound() def set_pipeline_callback( - self, body, project, pipeline): # pragma: no cover + self, body, project, pipeline, **kwargs): # pragma: no cover return self.set_pipeline(body['status'], project, pipeline) def set_pipeline(self, state, project, pipeline): @@ -80,5 +80,6 @@ class ProjectAPI(ick2.ResourceApiBase): # This needs to go away as it is not protected. Once an IDP is # added. - def trigger_pipeline(self, project, pipeline): # pragma: no cover + def trigger_pipeline( + self, project, pipeline, **kwargs): # pragma: no cover return self.set_pipeline('triggered', project, pipeline) |