Job
| FUNCTION | DESCRIPTION |
|---|---|
download_job_logs |
Download job folder |
stop_job |
Stop execution of a workflow job. |
update_job |
Change the status of an existing job. |
view_job |
Query |
Classes¶
Functions:¶
download_job_logs(job_id, user=Depends(current_superuser_act), db=Depends(get_async_db))
async
¶
Download job folder
Source code in fractal_server/app/routes/admin/v2/job.py
stop_job(job_id, user=Depends(current_superuser_act), db=Depends(get_async_db))
async
¶
Stop execution of a workflow job.
Source code in fractal_server/app/routes/admin/v2/job.py
update_job(job_update, job_id, user=Depends(current_superuser_act), db=Depends(get_async_db))
async
¶
Change the status of an existing job.
This endpoint is only open to superusers, and it does not apply project-based access-control to jobs.
Source code in fractal_server/app/routes/admin/v2/job.py
view_job(id=None, resource_id=None, project_owner_id=None, job_user_email=None, project_id=None, dataset_id=None, workflow_id=None, status=None, start_timestamp_min=None, start_timestamp_max=None, end_timestamp_min=None, end_timestamp_max=None, log=True, pagination=Depends(get_pagination_params), user=Depends(current_superuser_act), db=Depends(get_async_db))
async
¶
Query JobV2 table.
| PARAMETER | DESCRIPTION |
|---|---|
|
If not
TYPE:
|
|
TYPE:
|
|
TYPE:
|
|
If not
TYPE:
|
|
If not
TYPE:
|
|
If not
TYPE:
|
|
If not
TYPE:
|
|
If not
TYPE:
|
|
If not
TYPE:
|
|
If not
TYPE:
|
|
If not
TYPE:
|
|
If
TYPE:
|
Source code in fractal_server/app/routes/admin/v2/job.py
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 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | |