Workflows
- class indico.queries.workflow.ListWorkflows(*, dataset_ids=None, workflow_ids=None, limit=100)
List all workflows visible to authenticated user
- Options:
dataset_ids (List[int]): List of dataset ids to filter by workflow_ids (List[int]): List of workflow ids to filter by
- Returns
All the found Workflow objects
- Return type
List[Workflow]
- class indico.queries.workflow.WorkflowSubmission(workflow_id, files=None, urls=None, submission=True, bundle=False, result_version=None, streams=None, text='')
- class indico.queries.workflow.GetWorkflow(workflow_id)
Query for Workflow by id
- Parameters
workflow_id (int) – Workflow id to query for
- Returns
Found Workflow object
- Return type
- class indico.queries.workflow.DeleteWorkflow(workflow_id)
Mutation to delete workflow given workflow id. Note that this operation includes deleting all components and models associated with this workflow.
- Parameters
workflow_id (int) – id of workflow to delete