Toloka documentation

get_aggregated_solutions

toloka.client.TolokaClient.get_aggregated_solutions

Finds all aggregated responses after the AggregatedSolutionOperation completes

Note

In all aggregation purposes we are strongly recommending using our crowd-kit library, that have more aggregation methods and can perform on your computers.

Parameters Description

Parameters Type Description
operation_id str

From what aggregation operation you want to get results.

task_id_lt Optional[str]

Jobs with an ID greater than the specified value.

task_id_lte Optional[str]

Jobs with an ID greater than or equal to the specified value.

task_id_gt Optional[str]

Jobs with an ID less than the specified value.

task_id_gte Optional[str]

Jobs with an ID less than or equal to the specified value.

  • Yields:

    The next object corresponding to the request parameters.

  • Yield type:

    Generator[AggregatedSolution, None, None]

Examples:

How to get all aggregated solutions from pool.

aggregation_results = list(toloka_client.get_aggregated_solutions(aggregation_operation.id))