Filters
RebatchFilters
Bases: BaseJobFilters
Class to provide filters for querying jobs to re-create.
Setting a value for any attribute of this class will add a filter to the query.
When using several filters at the same time, the API will return elements who pass all filters at the same time: - If the filter value is a single element, the API will return jobs whose attribute matches the provided value. - If the filter value is a list, the API will return jobs whose value for this attribute is contained in that list.
| ATTRIBUTE | DESCRIPTION |
|---|---|
id |
Filter by job IDs
TYPE:
|
status |
Filter by job statuses,
TYPE:
|
min_runs |
Minimum number of runs.
TYPE:
|
max_runs |
Maximum number of runs.
TYPE:
|
start_date |
Jobs created at or after this datetime.
TYPE:
|
end_date |
Jobs created at or before this datetime.
TYPE:
|
CancelJobFilters
Bases: BaseJobFilters
Class to provide filters for cancelling a group of jobs.
Setting a value for any attribute of this class will add a filter to the query.
When using several filters at the same time, the API will return elements who pass all filters at the same time: - If the filter value is a single element, the API will return jobs whose attribute matches the provided value. - If the filter value is a list, the API will return jobs whose value for this attribute is contained in that list.
| ATTRIBUTE | DESCRIPTION |
|---|---|
id |
Filter by job IDs
TYPE:
|
min_runs |
Minimum number of runs.
TYPE:
|
max_runs |
Maximum number of runs.
TYPE:
|
start_date |
Jobs created at or after this datetime.
TYPE:
|
end_date |
Jobs created at or before this datetime.
TYPE:
|
JobFilters
Bases: BaseJobFilters
Class to provide filters for querying jobs.
Setting a value for any attribute of this class will add a filter to the query.
When using several filters at the same time, the API will return elements who pass all filters at the same time: - If the filter value is a single element, the API will return jobs whose attribute matches the provided value. - If the filter value is a list, the API will return jobs whose value for this attribute is contained in that list.
| ATTRIBUTE | DESCRIPTION |
|---|---|
id |
Filter by job IDs.
TYPE:
|
project_id |
Filter by project IDs.
TYPE:
|
user_id |
Filter by user IDs.
TYPE:
|
batch_id |
Filter by batch IDs.
TYPE:
|
status |
Filter by job statuses.
TYPE:
|
min_runs |
Minimum number of runs.
TYPE:
|
max_runs |
Maximum number of runs.
TYPE:
|
errors |
Filter by presence of errors.
TYPE:
|
start_date |
Jobs created at or after this datetime.
TYPE:
|
end_date |
Jobs created at or before this datetime.
TYPE:
|
BatchFilters
Bases: BaseFilters
Class to provide filters for querying batches.
Setting a value for any attribute of this class will add a filter to the query.
When using several filters at the same time, the API will return elements who pass all filters at the same time: - If the filter value is a single element, the API will return batches whose attribute matches the provided value. - If the filter value is a list, the API will return batches whose value for this attribute is contained in that list.
| ATTRIBUTE | DESCRIPTION |
|---|---|
id |
Filter by batch IDs.
TYPE:
|
project_id |
Filter by project IDs.
TYPE:
|
user_id |
Filter by user IDs.
TYPE:
|
device_type |
Filter by device type.
TYPE:
|
status |
Filter by batch statuses.
TYPE:
|
open |
If the batch accepts more jobs or not.
TYPE:
|
start_date |
Batches created at or after this datetime.
TYPE:
|
end_date |
Batches created at or before this datetime.
TYPE:
|
queue_priority |
Filter by queue priority value.
TYPE:
|
tag |
Filter by a specific tag.
TYPE:
|
PaginationParams
Bases: BaseModel
Class providing parameters for paginating query results.
| ATTRIBUTE | DESCRIPTION |
|---|---|
offset |
The starting index of the items to return (must be 0 or greater).
TYPE:
|
limit |
The maximum number of items to return (must be greater than 0 and less than or equal to 100).
TYPE:
|