hpcflow.app.get_known_submissions#

hpcflow.app.get_known_submissions(max_recent=3, no_update=False, as_json=False, status=None)#

Retrieve information about active and recently inactive finished hpcFlow workflows.

This method removes workflows from the known-submissions file that are found to be inactive on this machine (according to the scheduler/process ID).

Parameters:
  • max_recent (int) – Maximum number of inactive workflows to retrieve.

  • no_update (bool) – If True, do not update the known-submissions file to set submissions that are now inactive.

  • as_json (bool) – If True, only include JSON-compatible information. This will exclude the submission key, for instance.

  • status (Status | None) –

Return type:

Sequence[KnownSubmissionItem]