workflow
WorkflowCreateV1
¶
Bases: _WorkflowBaseV1
Task for Workflow
creation.
Source code in fractal_server/app/schemas/v1/workflow.py
143 144 145 146 147 148 149 |
|
WorkflowExportV1
¶
Bases: _WorkflowBaseV1
Class for Workflow
export.
Attributes:
Name | Type | Description |
---|---|---|
task_list |
list[WorkflowTaskExportV1]
|
|
Source code in fractal_server/app/schemas/v1/workflow.py
190 191 192 193 194 195 196 197 198 |
|
WorkflowImportV1
¶
Bases: _WorkflowBaseV1
Class for Workflow
import.
Attributes:
Name | Type | Description |
---|---|---|
task_list |
list[WorkflowTaskImportV1]
|
|
Source code in fractal_server/app/schemas/v1/workflow.py
176 177 178 179 180 181 182 183 184 185 186 187 |
|
WorkflowReadV1
¶
Bases: _WorkflowBaseV1
Task for Workflow
read from database.
Attributes:
Name | Type | Description |
---|---|---|
id |
int
|
|
project_id |
int
|
|
task_list |
list[WorkflowTaskReadV1]
|
|
project |
ProjectReadV1
|
|
Source code in fractal_server/app/schemas/v1/workflow.py
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
|
WorkflowTaskCreateV1
¶
Bases: _WorkflowTaskBaseV1
Class for WorkflowTask
creation.
Attributes:
Name | Type | Description |
---|---|---|
order |
Optional[int]
|
|
Source code in fractal_server/app/schemas/v1/workflow.py
41 42 43 44 45 46 47 48 49 50 51 |
|
WorkflowTaskExportV1
¶
Bases: _WorkflowTaskBaseV1
Class for WorkflowTask
export.
Attributes:
Name | Type | Description |
---|---|---|
task |
TaskExportV1
|
|
Source code in fractal_server/app/schemas/v1/workflow.py
84 85 86 87 88 89 90 91 92 |
|
WorkflowTaskImportV1
¶
Bases: _WorkflowTaskBaseV1
Class for WorkflowTask
import.
Attributes:
Name | Type | Description |
---|---|---|
task |
TaskImportV1
|
|
Source code in fractal_server/app/schemas/v1/workflow.py
73 74 75 76 77 78 79 80 81 |
|
WorkflowTaskReadV1
¶
Bases: _WorkflowTaskBaseV1
Class for WorkflowTask
read from database.
Attributes:
Name | Type | Description |
---|---|---|
id |
int
|
|
order |
Optional[int]
|
|
workflow_id |
int
|
|
task_id |
int
|
|
task |
TaskReadV1
|
|
Source code in fractal_server/app/schemas/v1/workflow.py
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
|
WorkflowTaskStatusTypeV1
¶
Bases: str
, Enum
Define the available values for the status of a WorkflowTask
.
This model is used within the Dataset.history
attribute, which is
constructed in the runner and then used in the API (e.g. in the
api/v1/project/{project_id}/dataset/{dataset_id}/status
endpoint).
Attributes:
Name | Type | Description |
---|---|---|
SUBMITTED |
The |
|
DONE |
The most-recent execution of this |
|
FAILED |
The most-recent execution of this |
Source code in fractal_server/app/schemas/v1/workflow.py
201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
|
WorkflowTaskUpdateV1
¶
Bases: _WorkflowTaskBaseV1
Class for WorkflowTask
update.
Source code in fractal_server/app/schemas/v1/workflow.py
95 96 97 98 99 100 101 102 103 104 105 106 107 |
|
WorkflowUpdateV1
¶
Bases: _WorkflowBaseV1
Task for Workflow
update.
Attributes:
Name | Type | Description |
---|---|---|
name |
Optional[str]
|
|
reordered_workflowtask_ids |
Optional[list[int]]
|
|
Source code in fractal_server/app/schemas/v1/workflow.py
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 |
|
_WorkflowBaseV1
¶
Bases: BaseModel
Base class for Workflow
.
Attributes:
Name | Type | Description |
---|---|---|
name |
str
|
Workflow name. |
Source code in fractal_server/app/schemas/v1/workflow.py
110 111 112 113 114 115 116 117 118 |
|
_WorkflowTaskBaseV1
¶
Bases: BaseModel
Base class for WorkflowTask
.
Source code in fractal_server/app/schemas/v1/workflow.py
32 33 34 35 36 37 38 |
|