Processes
A collection of methods that make interaction with coreDB more straight-forward.
This prevents someone from having to re-write database statements many times, that might turn out to be erroneous or inconsistent when not careful. These methods are related to operations regarding processes and workflows.
count_incomplete_validate_products()
Count the number of incomplete validate_geant_products processes.
Returns:
Type | Description |
---|---|
int
|
The count of incomplete 'validate_geant_products' processes. |
Source code in gso/services/processes.py
get_failed_tasks()
get_all_cleanup_tasks()
Get a list of all cleanup tasks that run on a schedule.
Source code in gso/services/processes.py
get_created_and_completed_processes_by_id(workflow_id)
Get all processes that are either created or completed, by workflow ID.