Toloka documentation

TaskSearchRequest

toloka.client.search_requests.TaskSearchRequest | Source code

TaskSearchRequest(
    self,
    pool_id: Optional[str] = None,
    overlap: Optional[int] = None,
    id_lt: Optional[str] = None,
    id_lte: Optional[str] = None,
    id_gt: Optional[str] = None,
    id_gte: Optional[str] = None,
    created_lt: Optional[datetime] = None,
    created_lte: Optional[datetime] = None,
    created_gt: Optional[datetime] = None,
    created_gte: Optional[datetime] = None,
    overlap_lt: Optional[int] = None,
    overlap_lte: Optional[int] = None,
    overlap_gt: Optional[int] = None,
    overlap_gte: Optional[int] = None
)

Parameters for searching tasks.

Parameters Description

Parameters Type Description
pool_id Optional[str]

The ID of the pool to get tasks from.

overlap Optional[int]

Tasks with an overlap equal to the specified value.

id_lt Optional[str]

Tasks with IDs less than the specified value.

id_lte Optional[str]

Tasks with IDs less than or equal to the specified value.

id_gt Optional[str]

Tasks with IDs greater than the specified value.

id_gte Optional[str]

Tasks with IDs greater than or equal to the specified value.

created_lt Optional[datetime]

Tasks created before the specified date.

created_lte Optional[datetime]

Tasks created before or on the specified date.

created_gt Optional[datetime]

Tasks created after the specified date.

created_gte Optional[datetime]

Tasks created after or on the specified date.

overlap_lt Optional[int]

Tasks with an overlap less than the specified value.

overlap_lte Optional[int]

Tasks with an overlap less than or equal to the specified value.

overlap_gt Optional[int]

Tasks with an overlap greater than the specified value.

overlap_gte Optional[int]

Tasks with an overlap greater than or equal to the specified value.