Toloka documentation

PoolAggregatedSolutionRequest

toloka.client.aggregation.PoolAggregatedSolutionRequest | Source code

PoolAggregatedSolutionRequest(
    self,
    *,
    type: Union[AggregatedSolutionType, str, None] = None,
    pool_id: Optional[str] = None,
    answer_weight_skill_id: Optional[str] = None,
    fields: Optional[List[Field]] = None
)

Parameters for aggregating results in a pool using the aggregate_solutions_by_pool method.

Parameters Description

Parameters Type Description
type Optional[AggregatedSolutionType]

Aggregation model:

pool_id Optional[str]

The ID of the pool.

answer_weight_skill_id Optional[str]

The ID of the skill that determines the weight of the Toloker's responses.

fields Optional[List[Field]]

Output data fields to aggregate. For the best results, each of these fields should have limited number of response options.