Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
Expose job results from workflow_runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Petter Øren Hauge committed Mar 5, 2019
1 parent fd2d083 commit 039d731
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/res/job_queue/workflow_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ def workflowResult(self):
""" @rtype: bool or None """
return self.__workflow_result

def workflowReport(self):
""" @rtype: {dict} """
return self.__workflow.getJobsReport()

def workflowError(self):
""" @rtype: str """
error = self.__workflow.getLastError()
Expand Down

0 comments on commit 039d731

Please sign in to comment.