toloka.client.task_distribution_function.TaskDistributionFunction
| Source code
TaskDistributionFunction( self, *, scope: Union[Scope, str, None] = None, distribution: Union[Distribution, str, None] = None, window_days: Optional[int] = None, intervals: Optional[List[Interval]] = None)
A configuration of selecting tasks.
It is used:
Parameters | Type | Description |
---|---|---|
scope | Optional[Scope] | A way of counting tasks completed by a Toloker:
|
distribution | Optional[Distribution] | The distribution of selected tasks within an interval. Allowed values: |
window_days | Optional[int] | The number of days in which completed tasks are counted. Allowed values: from 1 to 365. |
intervals | Optional[List[Interval]] | A list of count intervals with frequency values. The maximum number of list items is 10,000. |
Last updated: August 28, 2023