Skip to content

Commit

Permalink
Update pipelines.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KamalGalrani authored Jun 10, 2019
1 parent 47c8a55 commit 99b5267
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions grafana_api/api/pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def create_pipeline(self, name, pipeline_type, data, description=""):
))
return response


def update_pipeline(self, id, name, data, description="", **kwargs):
if type(id) != int or not id:
raise ValueError("Pipeline id is invalid!")
Expand Down Expand Up @@ -58,7 +57,6 @@ def list_pipelines(self, pipeline_type="", limit=100, page=0):
))
return response


def get_pipeline(self, id, depends=False):
if type(id) != int or not id:
raise ValueError("Pipeline id is invalid!")
Expand All @@ -73,4 +71,4 @@ def delete_pipeline(self, id):
raise ValueError("Pipeline id is invalid!")

response = self.api.DELETE(self.path + "/%d" % id)
return response
return response

0 comments on commit 99b5267

Please sign in to comment.