task_models
CompoundTask
¶
Bases: _BaseTask
A CompoundTask object must include both executable_init and
executable attributes, and it may include the meta_init and meta
attributes.
Source code in src/fractal_task_tools/task_models.py
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | |
ConverterCompoundTask
¶
Bases: _BaseTask
A ConverterCompoundTask task is the same as a CompoundTask, but it
is executed differently in the Fractal backend.
Source code in src/fractal_task_tools/task_models.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
ConverterNonParallelTask
¶
Bases: _BaseTask
A ConverterNonParallelTask task is the same as a NonParallelTask, but
it is executed differently in the Fractal backend.
Source code in src/fractal_task_tools/task_models.py
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | |
NonParallelTask
¶
Bases: _BaseTask
A NonParallelTask object must include the executable attribute, and it
may include the meta attribute.
Source code in src/fractal_task_tools/task_models.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | |
ParallelTask
¶
Bases: _BaseTask
A ParallelTask object must include the executable attribute, and it may
include the meta attribute.
Source code in src/fractal_task_tools/task_models.py
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 | |
_TaskList
¶
Bases: RootModel
List of valid tasks, with unique names.
Note: this model is only used for validation, and then discarded. If you
want to use its data, you should e.g. override the __iter__ and
__getitem__ methods. See
https://pydantic.dev/docs/validation/latest/concepts/models/#rootmodel-and-custom-root-types
Source code in src/fractal_task_tools/task_models.py
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 | |