Toloka documentation

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

Parameters Type Description
from_ Optional[int]

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

to Optional[int]

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

frequency Optional[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.