PoolSearchRequest

toloka.client.search_requests.PoolSearchRequest | Source code

PoolSearchRequest(
self,
status: Optional[Pool.Status] = None,
project_id: Optional[str] = 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,
last_started_lt: Optional[datetime] = None,
last_started_lte: Optional[datetime] = None,
last_started_gt: Optional[datetime] = None,
last_started_gte: Optional[datetime] = None
)

Parameters for searching pools.

Parameters description

ParametersTypeDescription
statusOptional[Pool.Status]

Pool status. Refer to the Pool.Status page for more information on the available status values.

project_idOptional[str]

Pools belonging to the project with the specified ID.

id_ltOptional[str]

Pools with IDs less than the specified value.

id_lteOptional[str]

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

id_gtOptional[str]

Pools with IDs greater than the specified value.

id_gteOptional[str]

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

created_ltOptional[datetime]

Pools created before the specified date.

created_lteOptional[datetime]

Pools created before or on the specified date.

created_gtOptional[datetime]

Pools created after the specified date.

created_gteOptional[datetime]

Pools created after or on the specified date.

last_started_ltOptional[datetime]

Pools that were opened last time before the specified date.

last_started_lteOptional[datetime]

Pools that were opened last time before or on the specified date.

last_started_gtOptional[datetime]

Pools that were opened last time after the specified date.

last_started_gteOptional[datetime]

Pools that were opened last time after or on the specified date.

Last updated: August 28, 2023

Toloka-Kit
OverviewGetting API keyQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming