workflow
WorkflowCreateV1
¶
Bases: _WorkflowBaseV1
Task for Workflow
creation.
Source code in fractal_server/app/schemas/v1/workflow.py
138 139 140 141 142 143 144 |
|
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
185 186 187 188 189 190 191 192 193 |
|
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
171 172 173 174 175 176 177 178 179 180 181 182 |
|
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
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
|
WorkflowTaskCreateV1
¶
Bases: _WorkflowTaskBaseV1
Class for WorkflowTask
creation.
Attributes:
Name | Type | Description |
---|---|---|
order |
Optional[int]
|
|
Source code in fractal_server/app/schemas/v1/workflow.py
40 41 42 43 44 45 46 47 48 49 50 |
|
WorkflowTaskExportV1
¶
Bases: _WorkflowTaskBaseV1
Class for WorkflowTask
export.
Attributes:
Name | Type | Description |
---|---|---|
task |
TaskExportV1
|
|
Source code in fractal_server/app/schemas/v1/workflow.py
83 84 85 86 87 88 89 90 91 |
|
WorkflowTaskImportV1
¶
Bases: _WorkflowTaskBaseV1
Class for WorkflowTask
import.
Attributes:
Name | Type | Description |
---|---|---|
task |
TaskImportV1
|
|
Source code in fractal_server/app/schemas/v1/workflow.py
72 73 74 75 76 77 78 79 80 |
|
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
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
|
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
196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 |
|
WorkflowTaskUpdateV1
¶
Bases: _WorkflowTaskBaseV1
Class for WorkflowTask
update.
Source code in fractal_server/app/schemas/v1/workflow.py
94 95 96 97 98 99 100 101 102 103 104 105 106 |
|
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
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
|
_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
109 110 111 112 113 114 115 116 117 |
|
_WorkflowTaskBaseV1
¶
Bases: BaseModel
Base class for WorkflowTask
.
Source code in fractal_server/app/schemas/v1/workflow.py
31 32 33 34 35 36 37 |
|