Interval

toloka.client.task_distribution_function.TaskDistributionFunction.Interval | Source code

Interval(
self,
*,
from_: Optional[int] = None,
to: Optional[int] = None,
frequency: Optional[int] = None
)

Interval borders and number of tasks in an interval

Parameters Description

ParametersTypeDescription
from_Optional[int]

Start of the interval (number of task completed by the Toloker in the project or in the pool).

toOptional[int]

End of the interval (number of task completed by the Toloker in the project or in the pool).

frequencyOptional[int]

Frequency of tasks in an interval. The first task in an interval is a distributed task. For example, if you set frequency: 3 tasks number 1, 4, 7 and so on will be distributed tasks.

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