FilterCondition

toloka.client.filter.FilterCondition | Source code

FilterCondition(self)

Filters for selecting Tolokers who can access tasks.

For example, you can select Tolokers who have some skill, speak certain languages, or use a smartphone.

Filters can be combined using the | and & operators. Some filters support the ~ operator.

Examples:

Filtering by language and device category.

filter = (
(toloka.client.filter.Languages.in_('EN')) &
(toloka.client.filter.DeviceCategory == toloka.client.filter.DeviceCategory.SMARTPHONE)
)

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