CompletionPercentagePoolAnalytics

toloka.client.analytics_request.CompletionPercentagePoolAnalytics | Source code

CompletionPercentagePoolAnalytics(self, *, subject_id: str)

Calculates the percentage of completed tasks in a pool.

Parameters description

ParametersTypeDescription
subject_idstr

The ID of a pool to get analytics about.

Examples:

operation = toloka_client.get_analytics(
[toloka.client.analytics_request.CompletionPercentagePoolAnalytics(subject_id='1084779')]
)
operation = toloka_client.wait_operation(operation)
percentage = operation.details['value'][0]['result']['value']
print(percentage)

Last updated: August 28, 2023

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