Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-1753

add Workflow.get_status()

    XMLWordPrintable

Details

    Description

      Workflow.status() only logs status information. It will be useful to have a function that returns parsed pegasus-status output s.t. users can programmatically access it.

      To preserve backwards compatibility, the idea here is to implement Workflow.get_status() (later we can implement Workflow.get_statistics(), Workflow.get_analysis(), etc) that will actually return a dict or object with the data rather than having Workflow.status() return that data, and thus making it unable to be chained.

      Workflow.get_status() should return a dict containing:
      - unready
      - completed
      - queued
      - running
      - fail
      - state
      - percent done
      - raw output

      Attachments

        Activity

          People

            tanaka Ryan Tanaka
            tanaka Ryan Tanaka
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: