job
JobCreateV2
¶
Bases: BaseModel
Source code in fractal_server/app/schemas/v2/job.py
37 38 39 40 41 42 43 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 70 71 72 73 74 75 76 77 78 79 |
|
first_last_task_indices(v, values)
¶
Check that last_task_index
is non-negative, and that it is not
smaller than first_task_index
.
Source code in fractal_server/app/schemas/v2/job.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
|
first_task_index_non_negative(v, values)
¶
Check that first_task_index
is non-negative.
Source code in fractal_server/app/schemas/v2/job.py
49 50 51 52 53 54 55 56 57 58 |
|
JobStatusTypeV2
¶
Bases: str
, Enum
Define the available job statuses
Attributes:
Name | Type | Description |
---|---|---|
SUBMITTED |
The job was created. This does not guarantee that it was also submitted to an executor (e.g. other errors could have prevented this), nor that it is actually running (e.g. SLURM jobs could be still in the queue). |
|
DONE |
The job successfully reached its end. |
|
FAILED |
The workflow terminated with an error. |
Source code in fractal_server/app/schemas/v2/job.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
|