ApprovedAssignmentsCountPoolAnalytics

toloka.client.analytics_request.ApprovedAssignmentsCountPoolAnalytics | Source code

ApprovedAssignmentsCountPoolAnalytics(self, *, subject_id: str)

Counts the number of assignments with the ACCEPTED status in a pool.

Do not confuse these task statuses:

  • SUBMITTED tasks are completed by Tolokers and sent for a review.
  • ACCEPTED tasks have passed the review and have been paid for.

Parameters description

ParametersTypeDescription
subject_idstr

The ID of a pool to get analytics about.

Examples:

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

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