Workflow
| FUNCTION | DESCRIPTION |
|---|---|
create_workflow |
Create a workflow, associate to a project |
delete_workflow |
Delete a workflow |
export_workflow |
Export an existing workflow, after stripping all IDs |
get_workflow_list |
Get workflow list for given project |
get_workflow_type_filters |
Get info on type/type-filters flow for a workflow. |
read_workflow |
Get info on an existing workflow |
star_workflow |
Set |
unstar_workflow |
Set |
update_workflow |
Edit a workflow |
Classes¶
Functions:¶
create_workflow(project_id, workflow, user=Depends(get_api_user), db=Depends(get_async_db))
async
¶
Create a workflow, associate to a project
Source code in fractal_server/app/routes/api/v2/workflow.py
delete_workflow(project_id, workflow_id, user=Depends(get_api_user), db=Depends(get_async_db))
async
¶
Delete a workflow
Source code in fractal_server/app/routes/api/v2/workflow.py
export_workflow(project_id, workflow_id, user=Depends(get_api_guest), db=Depends(get_async_db))
async
¶
Export an existing workflow, after stripping all IDs
Source code in fractal_server/app/routes/api/v2/workflow.py
get_workflow_list(project_id, user=Depends(get_api_guest), db=Depends(get_async_db))
async
¶
Get workflow list for given project
Source code in fractal_server/app/routes/api/v2/workflow.py
get_workflow_type_filters(project_id, workflow_id, user=Depends(get_api_guest), db=Depends(get_async_db))
async
¶
Get info on type/type-filters flow for a workflow.
Source code in fractal_server/app/routes/api/v2/workflow.py
read_workflow(project_id, workflow_id, user=Depends(get_api_guest), db=Depends(get_async_db))
async
¶
Get info on an existing workflow
Source code in fractal_server/app/routes/api/v2/workflow.py
star_workflow(project_id, workflow_id, user=Depends(get_api_user), db=Depends(get_async_db))
async
¶
Set WorkflowV2.is_starred to True
Source code in fractal_server/app/routes/api/v2/workflow.py
unstar_workflow(project_id, workflow_id, user=Depends(get_api_user), db=Depends(get_async_db))
async
¶
Set WorkflowV2.is_starred to False
Source code in fractal_server/app/routes/api/v2/workflow.py
update_workflow(project_id, workflow_id, patch, user=Depends(get_api_user), db=Depends(get_async_db))
async
¶
Edit a workflow